<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 01 March 2018 at 06:21 James Brown <
<a href="mailto:jlbrown@bordo.com.au">jlbrown@bordo.com.au</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Have tried 2.3.0, 2.3.0.1 & 2.2.34.
</div>
<div>
<br>
</div>
<div>
Compile is failing for me.
</div>
<div>
<br>
</div>
<div>
./configure --with-mysql --with-ssl=openssl:
</div>
<div>
<br>
</div>
<div>
...
</div>
<div>
checking for SSL_read in -lssl... yes
</div>
<div>
checking openssl/ssl.h usability... yes
</div>
<div>
checking openssl/ssl.h presence... yes
</div>
<div>
checking for openssl/ssl.h... yes
</div>
<div>
checking openssl/err.h usability... yes
</div>
<div>
checking openssl/err.h presence... yes
</div>
<div>
checking for openssl/err.h... yes
</div>
<div>
checking if OpenSSL version is 1.0.1 or newer... true
</div>
<div>
checking if OpenSSL version is 1.0.2 or better... true
</div>
<div>
checking whether SSL_clear_options exists... no
</div>
<div>
...
</div>
<div>
<br>
</div>
<div>
No problems. But then ‘make’ ends with:
</div>
<div>
<br>
</div>
<div>
dcrypt-openssl.c:117: error: field 'ctx' has incomplete type
</div>
<div>
dcrypt-openssl.c: In function 'dcrypt_openssl_ctx_hmac_destroy':
</div>
<div>
dcrypt-openssl.c:451: warning: implicit declaration of function 'HMAC_cleanup'
</div>
<div>
dcrypt-openssl.c: In function 'dcrypt_openssl_generate_ec_key':
</div>
<div>
dcrypt-openssl.c:555: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c:556: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c: In function 'dcrypt_openssl_ecdh_derive_secret_local':
</div>
<div>
dcrypt-openssl.c:588: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c: In function 'dcrypt_openssl_ecdh_derive_secret_peer':
</div>
<div>
dcrypt-openssl.c:668: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c:697: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c:698: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c: In function 'dcrypt_openssl_store_private_key_dovecot':
</div>
<div>
dcrypt-openssl.c:1461: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c:1482: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c:1489: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c: In function 'dcrypt_openssl_load_private_key':
</div>
<div>
dcrypt-openssl.c:1615: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c: In function 'dcrypt_openssl_store_public_key':
</div>
<div>
dcrypt-openssl.c:1765: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c: In function 'dcrypt_openssl_private_to_public_key':
</div>
<div>
dcrypt-openssl.c:1801: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c: In function 'dcrypt_openssl_name2oid':
</div>
<div>
dcrypt-openssl.c:2062: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c: In function 'dcrypt_openssl_public_key_id_old':
</div>
<div>
dcrypt-openssl.c:2112: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c: In function 'dcrypt_openssl_private_key_id_old':
</div>
<div>
dcrypt-openssl.c:2135: error: dereferencing pointer to incomplete type
</div>
<div>
dcrypt-openssl.c: In function 'dcrypt_openssl_public_key_id_evp':
</div>
<div>
dcrypt-openssl.c:2153: error: dereferencing pointer to incomplete type
</div>
<div>
make[3]: *** [libdcrypt_openssl_la-dcrypt-openssl.lo] Error 1
</div>
<div>
make[2]: *** [all-recursive] Error 1
</div>
<div>
make[1]: *** [all-recursive] Error 1
</div>
<div>
make: *** [all] Error 2
</div>
<div>
<br>
</div>
<div>
Any suggestions?
</div>
<div>
<br>
</div>
<div>
Thanks,
</div>
<div>
<br>
</div>
<div>
James.
</div>
<div>
<br>
</div>
</blockquote>
<div>
<br>
</div>
<div>
What SSL library and version?
</div>
<div class="io-ox-signature">
---
<br>Aki Tuomi
</div>
</body>
</html>