projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23584c9
)
OpenSSL ssl_store_cert(): Initialize pointer with NULL instead of 0
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 14 Feb 2021 19:32:11 +0000
(20:32 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 15 Mar 2021 14:35:44 +0000
(15:35 +0100)
openssl.c
patch
|
blob
|
history
diff --git
a/openssl.c
b/openssl.c
index
507c3f8
..
73c568d
100644
(file)
--- 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;