On Fri, 22 Mar 2019, Tim Rühsen wrote:

Are you sure that '#ifdef SSL_CTX_set_post_handshake_auth' works ? Here with OpenSSL 1.1.1b it seems that 'SSL_CTX_set_post_handshake_auth' is a function and not a #define.

In curl we use this #ifdef magic for figuring out if the function is present:

#if ((OPENSSL_VERSION_NUMBER >= 0x10101000L) && \
     !defined(LIBRESSL_VERSION_NUMBER) &&       \
     !defined(OPENSSL_IS_BORINGSSL))
#define HAVE_SSL_CTX_SET_POST_HANDSHAKE_AUTH
#endif

--

 / daniel.haxx.se

Reply via email to