[mod_openssl] update LIBRESSL_VERSION_NUMBER check

personal/stbuehler/tests-path
Glenn Strauss 2021-01-16 15:58:25 -05:00
parent f6c79fff94
commit 4d5405f0a1
1 changed files with 2 additions and 2 deletions

View File

@ -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