]> granicus.if.org Git - apache/blobdiff - modules/ssl/ssl_engine_kernel.c
mod_ssl, ab: compatibility with LibreSSL. PR 61184.
[apache] / modules / ssl / ssl_engine_kernel.c
index af2ada7b67dd0c043784ccc579408897eecf4797..1eaa1ee45f651311d3a8dd9682b61188ae888cae 100644 (file)
@@ -1745,7 +1745,7 @@ static void modssl_proxy_info_log(conn_rec *c,
  * so we need to increment here to prevent them from
  * being freed.
  */
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if MODSSL_USE_OPENSSL_PRE_1_1_API
 #define modssl_set_cert_info(info, cert, pkey) \
     *cert = info->x509; \
     CRYPTO_add(&(*cert)->references, +1, CRYPTO_LOCK_X509); \