diff options
author | Joe Orton <jorton@redhat.com> | 2023-05-09 16:26:55 +0100 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2023-05-10 10:07:12 +0100 |
commit | 231a1d3f3f427b823753dc2e53adcf9cafda619b (patch) | |
tree | 9d93de2b05cb84ee9b2fff9f99c9c3a644d5cce5 | |
parent | ea4cc797a4a6cf39639e9c0721eb59e314b3e42a (diff) | |
download | neon-git-231a1d3f3f427b823753dc2e53adcf9cafda619b.tar.gz |
-rw-r--r-- | src/ne_openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ne_openssl.c b/src/ne_openssl.c index a9b1134..9e1499d 100644 --- a/src/ne_openssl.c +++ b/src/ne_openssl.c @@ -581,7 +581,7 @@ ne_ssl_context *ne_ssl_context_create(int mode) /* enable workarounds for buggy SSL server implementations */ SSL_CTX_set_options(ctx->ctx, SSL_OP_ALL); SSL_CTX_set_verify(ctx->ctx, SSL_VERIFY_PEER, verify_callback); -#if LIBRESSL_VERSION_NUMBER >= 0x3040000fL || (!defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10101000L) +#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x3040000fL || (!defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10101000L) SSL_CTX_set_post_handshake_auth(ctx->ctx, 1); #endif } else if (mode == NE_SSL_CTX_SERVER) { |