Increase the password buffer size to APP_PASS_LEN.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2868)
This commit is contained in:
Pauli 2017-03-07 10:12:05 +10:00
parent cadb015b02
commit bf580d5f30
1 changed files with 1 additions and 1 deletions

View File

@ -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;