From bf580d5f30368f7ebc4c44f10575b5f0b411d594 Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 7 Mar 2017 10:12:05 +1000 Subject: [PATCH] Increase the password buffer size to APP_PASS_LEN. Reviewed-by: Richard Levitte Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2868) --- apps/pkcs8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/pkcs8.c b/apps/pkcs8.c index e12c5d36cd..7ee23a2215 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; -- 2.34.1