Browse Source

[mod_openssl] update LIBRESSL_VERSION_NUMBER check

master
Glenn Strauss 1 month ago
parent
commit
4d5405f0a1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/mod_openssl.c

+ 2
- 2
src/mod_openssl.c 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


Loading…
Cancel
Save