id summary reporter owner description type status priority milestone component version severity resolution keywords cc 250 OpenVPN 2.3.0 fails to build with PolarSSL 1.2.0+ mandree "gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../.. -I../../../include -I../../../src/compat -I/usr/local/include -g -O2 -MT crypto.o -MD -MP -MF .deps/crypto.Tpo -c -o crypto.o ../../../src/openvpn/crypto.c ../../../src/openvpn/crypto.c: In function 'openvpn_encrypt': ../../../src/openvpn/crypto.c:104: error: 'POLARSSL_MODE_CFB128' undeclared (first use in this function) ../../../src/openvpn/crypto.c:104: error: (Each undeclared identifier is reported only once ../../../src/openvpn/crypto.c:104: error: for each function it appears in.) ../../../src/openvpn/crypto.c: In function 'openvpn_decrypt': ../../../src/openvpn/crypto.c:314: error: 'POLARSSL_MODE_CFB128' undeclared (first use in this function) ../../../src/openvpn/crypto.c: In function 'init_key_type': ../../../src/openvpn/crypto.c:414: error: 'POLARSSL_MODE_CFB128' undeclared (first use in this function) ../../../src/openvpn/crypto.c: In function 'cfb_ofb_mode': ../../../src/openvpn/crypto.c:600: error: 'POLARSSL_MODE_CFB128' undeclared (first use in this function) *** [crypto.o] Error code 1 This is in PolarSSL's 1.2.0 ChangeLog, under Changes: * Cipher layer cipher_mode_t POLARSSL_MODE_CFB128 is renamed to POLARSSL_MODE_CFB, to also handle different block size CFB modes. If I get past that one, with a cunning yet daring AC_DEFINE, I get more errors: ../../../src/openvpn/ssl_polarssl.c:70: error: 'SSL_EDH_RSA_AES_256_SHA' undeclared here (not in a function) ../../../src/openvpn/ssl_polarssl.c:71: error: 'SSL_EDH_RSA_CAMELLIA_256_SHA' undeclared here (not in a function) ../../../src/openvpn/ssl_polarssl.c:72: error: 'SSL_EDH_RSA_AES_128_SHA' undeclared here (not in a function) ../../../src/openvpn/ssl_polarssl.c:73: error: 'SSL_EDH_RSA_CAMELLIA_128_SHA' undeclared here (not in a function) ../../../src/openvpn/ssl_polarssl.c:74: error: 'SSL_EDH_RSA_DES_168_SHA' undeclared here (not in a function) ../../../src/openvpn/ssl_polarssl.c:75: error: 'SSL_RSA_AES_256_SHA' undeclared here (not in a function) ../../../src/openvpn/ssl_polarssl.c:76: error: 'SSL_RSA_CAMELLIA_256_SHA' undeclared here (not in a function) ../../../src/openvpn/ssl_polarssl.c:77: error: 'SSL_RSA_AES_128_SHA' undeclared here (not in a function) ../../../src/openvpn/ssl_polarssl.c:78: error: 'SSL_RSA_CAMELLIA_128_SHA' undeclared here (not in a function) ../../../src/openvpn/ssl_polarssl.c:79: error: 'SSL_RSA_DES_168_SHA' undeclared here (not in a function) ../../../src/openvpn/ssl_polarssl.c:80: error: 'SSL_RSA_RC4_128_SHA' undeclared here (not in a function) ../../../src/openvpn/ssl_polarssl.c:81: error: 'SSL_RSA_RC4_128_MD5' undeclared here (not in a function) ../../../src/openvpn/ssl_polarssl.c: In function 'key_state_ssl_init': ../../../src/openvpn/ssl_polarssl.c:518: error: too many arguments to function 'ssl_set_session' ../../../src/openvpn/ssl_polarssl.c:537: warning: passing argument 2 of 'ssl_set_verify' from incompatible pointer type ../../../src/openvpn/ssl_polarssl.c: In function 'print_details': ../../../src/openvpn/ssl_polarssl.c:831: error: 'ssl_context' has no member named 'peer_cert' ../../../src/openvpn/ssl_polarssl.c:831: warning: assignment from incompatible pointer type gmake[3]: *** [ssl_polarssl.o] Fehler 1 " Bug / Defect closed major Building / Compiling OpenVPN 2.3-beta / 2.3-RC (Community Ed) Not set (select this one, unless your'e a OpenVPN developer) fixed