cannot make openvpn 2.3.2 with polarssl 1.3.1

Weekly dev snapshots are available for testing.
We talk about them here. Testing features in the dev snapshot helps the features make it to stable.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please report your experience with testing branch. Include what you were using and how
If there is a problem, the more info the better!
Post Reply
klook
OpenVpn Newbie
Posts: 1
Joined: Mon Nov 04, 2013 1:25 pm

cannot make openvpn 2.3.2 with polarssl 1.3.1

Post by klook » Wed Nov 06, 2013 12:49 pm

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

JoshC
OpenVPN User
Posts: 37
Joined: Sun Jun 23, 2013 3:42 pm

Re: cannot make openvpn 2.3.2 with polarssl 1.3.1

Post by JoshC » Fri Nov 08, 2013 5:46 pm

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.)

Andrio
OpenVpn Newbie
Posts: 2
Joined: Thu Jan 01, 2015 9:57 am

Re: cannot make openvpn 2.3.2 with polarssl 1.3.1

Post by Andrio » Thu Jan 01, 2015 10:09 am

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.

Andrio
OpenVpn Newbie
Posts: 2
Joined: Thu Jan 01, 2015 9:57 am

Re: cannot make openvpn 2.3.2 with polarssl 1.3.1

Post by Andrio » Fri Jan 02, 2015 4:18 am

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.

Post Reply