On 01 March 2018 at 06:21 James Brown < [email protected]> wrote:
Have tried 2.3.0, 2.3.0.1 & 2.2.34.
Compile is failing for me.
./configure --with-mysql --with-ssl=openssl:
...checking for SSL_read in -lssl... yeschecking openssl/ssl.h usability... yeschecking openssl/ssl.h presence... yeschecking for openssl/ssl.h... yeschecking openssl/err.h usability... yeschecking openssl/err.h presence... yeschecking for openssl/err.h... yeschecking if OpenSSL version is 1.0.1 or newer... truechecking if OpenSSL version is 1.0.2 or better... truechecking whether SSL_clear_options exists... no...
No problems. But then ‘make’ ends with:
dcrypt-openssl.c:117: error: field 'ctx' has incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_ctx_hmac_destroy':dcrypt-openssl.c:451: warning: implicit declaration of function 'HMAC_cleanup'dcrypt-openssl.c: In function 'dcrypt_openssl_generate_ec_key':dcrypt-openssl.c:555: error: dereferencing pointer to incomplete typedcrypt-openssl.c:556: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_ecdh_derive_secret_local':dcrypt-openssl.c:588: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_ecdh_derive_secret_peer':dcrypt-openssl.c:668: error: dereferencing pointer to incomplete typedcrypt-openssl.c:697: error: dereferencing pointer to incomplete typedcrypt-openssl.c:698: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_store_private_key_dovecot':dcrypt-openssl.c:1461: error: dereferencing pointer to incomplete typedcrypt-openssl.c:1482: error: dereferencing pointer to incomplete typedcrypt-openssl.c:1489: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_load_private_key':dcrypt-openssl.c:1615: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_store_public_key':dcrypt-openssl.c:1765: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_private_to_public_key':dcrypt-openssl.c:1801: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_name2oid':dcrypt-openssl.c:2062: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_public_key_id_old':dcrypt-openssl.c:2112: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_private_key_id_old':dcrypt-openssl.c:2135: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_public_key_id_evp':dcrypt-openssl.c:2153: error: dereferencing pointer to incomplete typemake[3]: *** [libdcrypt_openssl_la-dcrypt-openssl.lo] Error 1make[2]: *** [all-recursive] Error 1make[1]: *** [all-recursive] Error 1make: *** [all] Error 2
Any suggestions?
Thanks,
James.
What SSL library and version?
---
Aki Tuomi
Aki Tuomi
