[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Mon Aug 22 13:36:56 UTC 2016


The branch master has been updated
       via  0038ad480b7c89925af55aec4b62cc3f43375617 (commit)
      from  599e5904b22f3d50c5f4720aa3bc8ab8af0ffa98 (commit)


- Log -----------------------------------------------------------------
commit 0038ad480b7c89925af55aec4b62cc3f43375617
Author: Richard Levitte <levitte at openssl.org>
Date:   Mon Aug 22 15:25:34 2016 +0200

    Avoid more compiler warnings for use of uninitialised variables
    
    Reviewed-by: Andy Polyakov <appro at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 apps/pkcs12.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/pkcs12.c b/apps/pkcs12.c
index b5d5673..f8806b9 100644
--- 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


More information about the openssl-commits mailing list