提交 65d3941f 编写于 作者: R Rodger Combs 提交者: Rich Salz

Increase buffer size for passwords in pkcs12 CLI

Reviewed-by: NTim Hudson <tjh@openssl.org>
上级 9d3356b1
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册