Page 1 of 1

cannot make openvpn 2.3.2 with polarssl 1.3.1

Posted: Wed Nov 06, 2013 12:49 pm
by klook
Hi,
i was trying to compile openvpn 2.3.2 with polarssl 1.3.1 library and make fails in this way:

gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/compat -g -O2 -MT crypto_polarssl.o -MD -MP -MF .deps/crypto_polarssl.Tpo -c -o crypto_polarssl.o crypto_polarssl.c
crypto_polarssl.c: In function ‘cipher_ctx_reset’:
crypto_polarssl.c:469:3: error: too many arguments to function ‘cipher_reset’
return 0 == cipher_reset(ctx, iv_buf);
^
In file included from crypto_polarssl.h:33:0,
from crypto_backend.h:37,
from crypto_polarssl.c:44:
/usr/local/include/polarssl/cipher.h:510:5: note: declared here
int cipher_reset( cipher_context_t *ctx );
^
make[3]: *** [crypto_polarssl.o] Erreur 1

It seems that cipher_reset() method has been modified in polarssl 1.3 (2nd argument iv_buf has been removed).

Does someone already encountered this issue?
Is there a known temporary fix?

Regards
klook

Re: cannot make openvpn 2.3.2 with polarssl 1.3.1

Posted: Fri Nov 08, 2013 5:46 pm
by JoshC
I can confirm the issue on my end as well. Can you please file an official bugreport at the tracker? (the same username to the forums works in the tracker too.)

Re: cannot make openvpn 2.3.2 with polarssl 1.3.1

Posted: Thu Jan 01, 2015 10:09 am
by Andrio
I see several people have posted similar comments about 2.3.0 not working and having to roll back to 2.2.2. It looks like 2.3.0 is not stable and hasn't been fully regression-tested, or there is a compatibility break when connecting to an older server version that is still running 2.2.2.

Re: cannot make openvpn 2.3.2 with polarssl 1.3.1

Posted: Fri Jan 02, 2015 4:18 am
by Andrio
I see several people have posted similar comments about
2.3.0 not working and having to roll back to 2.2.2. It looks like 2.3.0 is not stable and hasn't been fully regression-tested, or there is a compatibility break when connecting to an older server version that is still running 2.2.2.