[Privoxy-commits] [privoxy] 01/15: OpenSSL ssl_store_cert(): Initialize pointer with NULL instead of 0

User Git git at git.privoxy.org
Mon Mar 15 14:43:49 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 7505b4245ee6a0fb1b9bc1630cc87646c6d6af06
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Feb 14 20:32:11 2021 +0100

    OpenSSL ssl_store_cert(): Initialize pointer with NULL instead of 0
---
 openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list