From d50102a168b8b506e132dbdc645a38916ef98238 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Wed, 22 Dec 2021 16:54:05 +0000 Subject: [PATCH] Fixed OpenSSL detection support when Address Sanitizer is enabled. --- auto/openssl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auto/openssl b/auto/openssl index 2898a91e..a81efdd7 100644 --- a/auto/openssl +++ b/auto/openssl @@ -18,7 +18,9 @@ njs_feature_libs="-lcrypto" njs_feature_test="#include int main() { - EVP_CIPHER_CTX_new(); + EVP_CIPHER_CTX *ctx; + ctx = EVP_CIPHER_CTX_new(); + EVP_CIPHER_CTX_free(ctx); return 0; }" . auto/feature -- 2.47.3