Skip to content

Commit

Permalink
apr_crypto: follow up to r1836445: fix APR_USE_OPENSSL_PRE_1_1_API ch…
Browse files Browse the repository at this point in the history
…eck.

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


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1836496 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
ylavic committed Jul 23, 2018
1 parent c0e5d95 commit af517d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/apr_crypto_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *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
Expand Down

0 comments on commit af517d9

Please sign in to comment.