diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-01-16 15:58:25 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-01-16 15:58:25 -0500 |
commit | 4d5405f0a1b2bc986eeffd21974a4398f4625ead (patch) | |
tree | a142a37507eaa5b208f0d55b734d1eea6d32dbdc | |
parent | f6c79fff94d90c8d2e67f273e6493aae90d196b1 (diff) | |
download | lighttpd-git-4d5405f0a1b2bc986eeffd21974a4398f4625ead.tar.gz |
[mod_openssl] update LIBRESSL_VERSION_NUMBER check
-rw-r--r-- | src/mod_openssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_openssl.c b/src/mod_openssl.c index 53753472..5114ac13 100644 --- a/src/mod_openssl.c +++ b/src/mod_openssl.c @@ -1070,8 +1070,8 @@ mod_openssl_cert_cb (SSL *ssl, void *arg) || LIBRESSL_VERSION_NUMBER >= 0x3000000fL) if (pc->ssl_pemfile_chain) SSL_set1_chain(ssl, pc->ssl_pemfile_chain); - #if defined(BORINGSSL_API_VERSION) \ - || defined(LIBRESSL_VERSION_NUMBER) + #if !defined(BORINGSSL_API_VERSION) \ + && !defined(LIBRESSL_VERSION_NUMBER) /* (missing SSL_set1_chain_cert_store() and SSL_build_cert_chain()) */ else if (hctx->conf.ssl_ca_file) { /* preserve legacy behavior whereby openssl will reuse CAs trusted for |