提交 7b0ee135 编写于 作者: M Matt Caswell

Free allocated password strings on exit

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 a3768e0c
...@@ -597,6 +597,8 @@ int srp_main(int argc, char **argv) ...@@ -597,6 +597,8 @@ int srp_main(int argc, char **argv)
if (verbose) if (verbose)
BIO_printf(bio_err, "SRP terminating with code %d.\n", ret); BIO_printf(bio_err, "SRP terminating with code %d.\n", ret);
OPENSSL_free(passin);
OPENSSL_free(passout);
if (ret) if (ret)
ERR_print_errors(bio_err); ERR_print_errors(bio_err);
if (randfile) if (randfile)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册