summaryrefslogtreecommitdiffstats
path: root/apps/pkcs8.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-03-07 10:12:05 +1000
committerPauli <paul.dale@oracle.com>2017-03-07 10:12:05 +1000
commitbf580d5f30368f7ebc4c44f10575b5f0b411d594 (patch)
tree63c92837908ecd6d82be69ceb973c275ac9e6cd7 /apps/pkcs8.c
parentcadb015b021065640c7ae02c5eefa0e04cdbd45e (diff)
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)
Diffstat (limited to 'apps/pkcs8.c')
-rw-r--r--apps/pkcs8.c2
1 files changed, 1 insertions, 1 deletions
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;