projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d3356b
)
Increase buffer size for passwords in pkcs12 CLI
author
Rodger Combs
<rodger.combs@gmail.com>
Sun, 7 Jun 2015 01:55:01 +0000
(21:55 -0400)
committer
Rich Salz
<rsalz@openssl.org>
Sun, 7 Jun 2015 02:24:01 +0000
(22:24 -0400)
Reviewed-by: Tim Hudson <tjh@openssl.org>
apps/pkcs12.c
patch
|
blob
|
history
diff --git
a/apps/pkcs12.c
b/apps/pkcs12.c
index 9ab7f69160b78c6141ba6a9bed14351921ea974d..05bb1ad98d88b2a5fc52f9ee58b93a8a05f4ff41 100644
(file)
--- a/
apps/pkcs12.c
+++ b/
apps/pkcs12.c
@@
-160,7
+160,7
@@
int pkcs12_main(int argc, char **argv)
{
char *infile = NULL, *outfile = NULL, *keyname = NULL, *certfile = NULL;
char *name = NULL, *csp_name = NULL;
- char pass[
50], macpass[50
];
+ char pass[
2048], macpass[2048
];
int export_cert = 0, options = 0, chain = 0, twopass = 0, keytype = 0;
int iter = PKCS12_DEFAULT_ITER, maciter = PKCS12_DEFAULT_ITER;
# ifndef OPENSSL_NO_RC2