projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
599e590
)
Avoid more compiler warnings for use of uninitialised variables
author
Richard Levitte
<levitte@openssl.org>
Mon, 22 Aug 2016 13:25:34 +0000
(15:25 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 22 Aug 2016 13:36:35 +0000
(15:36 +0200)
Reviewed-by: Andy Polyakov <appro@openssl.org>
apps/pkcs12.c
patch
|
blob
|
history
diff --git
a/apps/pkcs12.c
b/apps/pkcs12.c
index b5d5673002261d095a9007e2119bfe76f5087b2c..f8806b9a6af149cb0f68fd01d0b910db5a975b7f 100644
(file)
--- a/
apps/pkcs12.c
+++ b/
apps/pkcs12.c
@@
-119,7
+119,7
@@
int pkcs12_main(int argc, char **argv)
{
char *infile = NULL, *outfile = NULL, *keyname = NULL, *certfile = NULL;
char *name = NULL, *csp_name = NULL;
- char pass[2048]
, macpass[2048]
;
+ char pass[2048]
= "", macpass[2048] = ""
;
int export_cert = 0, options = 0, chain = 0, twopass = 0, keytype = 0;
int iter = PKCS12_DEFAULT_ITER, maciter = PKCS12_DEFAULT_ITER;
# ifndef OPENSSL_NO_RC2