Re: [PATCH] imap-send.c: Avoid deprecated openssl 1.1.0 API

2017-01-12 Thread Jack Bates
You might need the following, to still build with LibreSSL. That was my experience anyway, when I recently prepared similar fixes for OpenSSL 1.1 and Apache Traffic Server. #if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER) On 12/01/17 03:42 AM, eroen wrote: Library

Re: [PATCH] imap-send.c: Avoid deprecated openssl 1.1.0 API

2017-01-12 Thread Jack Bates
You might need the following, to still build with LibreSSL. That was my experience anyway, when I recently prepared similar fixes for OpenSSL 1.1 and Apache Traffic Server. #if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER) On 12/01/17 03:42 AM, eroen wrote: Library

[PATCH] imap-send.c: Avoid deprecated openssl 1.1.0 API

2017-01-12 Thread eroen
Library initialization functions are deprecated in openssl 1.1.0 API, as initialization is handled by openssl internally. Symbols for deprecated functions are not exported if openssl is built with `--api=1.1 disable-deprecated`, so their use will cause a build failure. Reported-by: Lars Wendler