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


- Log -----------------------------------------------------------------
commit bf580d5f30368f7ebc4c44f10575b5f0b411d594
Author: Pauli <[email protected]>
Date:   Tue Mar 7 10:12:05 2017 +1000

    Increase the password buffer size to APP_PASS_LEN.
    
    Reviewed-by: Richard Levitte <[email protected]>
    Reviewed-by: Rich Salz <[email protected]>
    (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;
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to