From: Dmitry Volyntsev Date: Wed, 22 Dec 2021 16:54:05 +0000 (+0000) Subject: Fixed OpenSSL detection support when Address Sanitizer is enabled. X-Git-Tag: 0.7.1~17 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=d50102a168b8b506e132dbdc645a38916ef98238;p=njs.git Fixed OpenSSL detection support when Address Sanitizer is enabled. --- 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