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... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking if OpenSSL version is 1.0.1 or newer... true checking if OpenSSL version is 1.0.2 or better... true checking whether SSL_clear_options exists... no ... No problems. But then ?make? ends with: dcrypt-openssl.c:117: error: field 'ctx' has incomplete type dcrypt-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 type dcrypt-openssl.c:556: error: dereferencing pointer to incomplete type dcrypt-openssl.c: In function 'dcrypt_openssl_ecdh_derive_secret_local': dcrypt-openssl.c:588: error: dereferencing pointer to incomplete type dcrypt-openssl.c: In function 'dcrypt_openssl_ecdh_derive_secret_peer': dcrypt-openssl.c:668: error: dereferencing pointer to incomplete type dcrypt-openssl.c:697: error: dereferencing pointer to incomplete type dcrypt-openssl.c:698: error: dereferencing pointer to incomplete type dcrypt-openssl.c: In function 'dcrypt_openssl_store_private_key_dovecot': dcrypt-openssl.c:1461: error: dereferencing pointer to incomplete type dcrypt-openssl.c:1482: error: dereferencing pointer to incomplete type dcrypt-openssl.c:1489: error: dereferencing pointer to incomplete type dcrypt-openssl.c: In function 'dcrypt_openssl_load_private_key': dcrypt-openssl.c:1615: error: dereferencing pointer to incomplete type dcrypt-openssl.c: In function 'dcrypt_openssl_store_public_key': dcrypt-openssl.c:1765: error: dereferencing pointer to incomplete type dcrypt-openssl.c: In function 'dcrypt_openssl_private_to_public_key': dcrypt-openssl.c:1801: error: dereferencing pointer to incomplete type dcrypt-openssl.c: In function 'dcrypt_openssl_name2oid': dcrypt-openssl.c:2062: error: dereferencing pointer to incomplete type dcrypt-openssl.c: In function 'dcrypt_openssl_public_key_id_old': dcrypt-openssl.c:2112: error: dereferencing pointer to incomplete type dcrypt-openssl.c: In function 'dcrypt_openssl_private_key_id_old': dcrypt-openssl.c:2135: error: dereferencing pointer to incomplete type dcrypt-openssl.c: In function 'dcrypt_openssl_public_key_id_evp': dcrypt-openssl.c:2153: error: dereferencing pointer to incomplete type make[3]: *** [libdcrypt_openssl_la-dcrypt-openssl.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Any suggestions? Thanks, James. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 8517 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20180301/f072f367/attachment.bin>
<!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>
On 1 Mar 2018, at 4:09 pm, Aki Tuomi <aki.tuomi at dovecot.fi <mailto:aki.tuomi at dovecot.fi>> wrote:> > >> On 01 March 2018 at 06:21 James Brown < jlbrown at bordo.com.au <mailto:jlbrown at bordo.com.au>> 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... yes >> checking openssl/ssl.h usability... yes >> checking openssl/ssl.h presence... yes >> checking for openssl/ssl.h... yes >> checking openssl/err.h usability... yes >> checking openssl/err.h presence... yes >> checking for openssl/err.h... yes >> checking if OpenSSL version is 1.0.1 or newer... true >> checking if OpenSSL version is 1.0.2 or better... true >> checking whether SSL_clear_options exists... no >> ... >> Any suggestions? >> >> Thanks, >> >> James. >> > > What SSL library and version? > --- > Aki TuomiOpenSSL $openssl version OpenSSL 1.0.2g 1 Mar 2016 But I also have: $ /usr/local/bin/openssl version OpenSSL 1.1.0g 2 Nov 2017 James. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180301/661d93ff/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 8517 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20180301/661d93ff/attachment.bin>