[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Tue Mar 7 01:29:27 UTC 2017


The branch master has been updated
       via  bf580d5f30368f7ebc4c44f10575b5f0b411d594 (commit)
      from  cadb015b021065640c7ae02c5eefa0e04cdbd45e (commit)


- Log -----------------------------------------------------------------
commit bf580d5f30368f7ebc4c44f10575b5f0b411d594
Author: Pauli <paul.dale at oracle.com>
Date:   Tue Mar 7 10:12:05 2017 +1000

    Increase the password buffer size to APP_PASS_LEN.
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2868)

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

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

diff --git a/apps/pkcs8.c b/apps/pkcs8.c
index e12c5d3..7ee23a2 100644
--- a/apps/pkcs8.c
+++ b/apps/pkcs8.c
@@ -66,7 +66,7 @@ int pkcs8_main(int argc, char **argv)
     char *infile = NULL, *outfile = NULL;
     char *passinarg = NULL, *passoutarg = NULL, *prog;
 #ifndef OPENSSL_NO_UI
-    char pass[50];
+    char pass[APP_PASS_LEN];
 #endif
     char *passin = NULL, *passout = NULL, *p8pass = NULL;
     OPTION_CHOICE o;


More information about the openssl-commits mailing list