From: Fabian Keil Date: Sun, 14 Feb 2021 19:32:11 +0000 (+0100) Subject: OpenSSL ssl_store_cert(): Initialize pointer with NULL instead of 0 X-Git-Tag: v_3_0_33~105^2~14 X-Git-Url: http://www.privoxy.org/gitweb/%40user-manual%40%40actions-help-prefix%40HANDLE-AS-EMPTY-DOCUMENT?a=commitdiff_plain;h=7505b4245ee6a0fb1b9bc1630cc87646c6d6af06;p=privoxy.git OpenSSL ssl_store_cert(): Initialize pointer with NULL instead of 0 --- diff --git a/openssl.c b/openssl.c index 507c3f81..73c568d2 100644 --- a/openssl.c +++ b/openssl.c @@ -273,7 +273,7 @@ static int ssl_store_cert(struct client_state *csp, X509 *crt) int ret = 0; BIO *bio = BIO_new(BIO_s_mem()); EVP_PKEY *pkey = NULL; - char *bio_mem_data = 0; + char *bio_mem_data = NULL; char *encoded_text; long l; const ASN1_INTEGER *bs;