projects
/
platform
/
upstream
/
glib-networking.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openssl: explicitly NULL initialize PKCS8_PRIV_KEY_INFO
[platform/upstream/glib-networking.git]
/
tls
/
openssl
/
gtlscertificate-openssl.c
diff --git
a/tls/openssl/gtlscertificate-openssl.c
b/tls/openssl/gtlscertificate-openssl.c
index
f3afc3d
..
7357c10
100644
(file)
--- a/
tls/openssl/gtlscertificate-openssl.c
+++ b/
tls/openssl/gtlscertificate-openssl.c
@@
-144,7
+144,7
@@
export_privkey_to_der (GTlsCertificateOpenssl *openssl,
guint8 **output_data,
long *output_size)
{
- PKCS8_PRIV_KEY_INFO *pkcs8;
+ PKCS8_PRIV_KEY_INFO *pkcs8
= NULL
;
BIO *bio = NULL;
const guint8 *data;