Hi at all,
currently I'm trying to compile openvpn in the current release with polarssl:
#./configure --with-crypto-library=polarssl
runs fine
#make
......
make[3]: Entering directory `/home/n0l0cale/openvpn-2.3.0/src/openvpn'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/compat -g -O2 -MT crypto.o -MD -MP -MF .deps/crypto.Tpo -c -o crypto.o crypto.c
crypto.c: In function 'openvpn_encrypt':
crypto.c:104:21: error: 'POLARSSL_MODE_CFB128' undeclared (first use in this function)
crypto.c:104:21: note: each undeclared identifier is reported only once for each function it appears in
crypto.c: In function 'openvpn_decrypt':
crypto.c:314:23: error: 'POLARSSL_MODE_CFB128' undeclared (first use in this function)
crypto.c: In function 'init_key_type':
crypto.c:414:40: error: 'POLARSSL_MODE_CFB128' undeclared (first use in this function)
crypto.c: In function 'cfb_ofb_mode':
crypto.c:600:22: error: 'POLARSSL_MODE_CFB128' undeclared (first use in this function)
make[3]: *** [crypto.o] Error 1
make[3]: Leaving directory `/home/n0l0cale/openvpn-2.3.0/src/openvpn'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/n0l0cale/openvpn-2.3.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/n0l0cale/openvpn-2.3.0'
make: *** [all] Error 2
#~/openvpn-2.3.0$ cat /proc/version
Linux version 3.2.0-30-generic (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012
The used polarssl version is: 1.1.0-1.
I was retrying the same with self-compiled polarssl-1.2.3, with the same results
Thanks in advance,
n0l0cale