apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1836496 - /apr/apr/trunk/crypto/apr_crypto_openssl.c
Date Mon, 23 Jul 2018 14:06:08 GMT
Author: ylavic
Date: Mon Jul 23 14:06:08 2018
New Revision: 1836496

URL: http://svn.apache.org/viewvc?rev=1836496&view=rev
Log:
apr_crypto: follow up to r1836445: fix APR_USE_OPENSSL_PRE_1_1_API check.

APR_USE_OPENSSL_PRE_1_1_API is always defined, change #ifdef to #if to build
with openssl >= 1.1.

Modified:
    apr/apr/trunk/crypto/apr_crypto_openssl.c

Modified: apr/apr/trunk/crypto/apr_crypto_openssl.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/crypto/apr_crypto_openssl.c?rev=1836496&r1=1836495&r2=1836496&view=diff
==============================================================================
--- apr/apr/trunk/crypto/apr_crypto_openssl.c (original)
+++ apr/apr/trunk/crypto/apr_crypto_openssl.c Mon Jul 23 14:06:08 2018
@@ -201,7 +201,7 @@ void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX
 
 #endif
 
-#ifdef APR_USE_OPENSSL_PRE_1_1_API
+#if APR_USE_OPENSSL_PRE_1_1_API
 #define EVP_MD_CTX_new EVP_MD_CTX_create
 #define EVP_MD_CTX_free EVP_MD_CTX_destroy
 #endif



Mime
View raw message