[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Sun Jun 7 02:24:15 UTC 2015


The branch master has been updated
       via  65d3941f4aa199d0fcd615b074876f8ff2886d11 (commit)
      from  9d3356b1186c8449820273aa9ed5d0066f698307 (commit)


- Log -----------------------------------------------------------------
commit 65d3941f4aa199d0fcd615b074876f8ff2886d11
Author: Rodger Combs <rodger.combs at gmail.com>
Date:   Sat Jun 6 21:55:01 2015 -0400

    Increase buffer size for passwords in pkcs12 CLI
    
    Reviewed-by: Tim Hudson <tjh 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 9ab7f69..05bb1ad 100644
--- a/apps/pkcs12.c
+++ b/apps/pkcs12.c
@@ -160,7 +160,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[50], macpass[50];
+    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