aboutsummaryrefslogtreecommitdiff
path: root/openssl/apps/dhparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/apps/dhparam.c')
-rw-r--r--openssl/apps/dhparam.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/openssl/apps/dhparam.c b/openssl/apps/dhparam.c
index b47097cbb..1297d6fb5 100644
--- a/openssl/apps/dhparam.c
+++ b/openssl/apps/dhparam.c
@@ -332,7 +332,6 @@ bad:
BIO_printf(bio_err,"This is going to take a long time\n");
if(!dh || !DH_generate_parameters_ex(dh, num, g, &cb))
{
- if(dh) DH_free(dh);
ERR_print_errors(bio_err);
goto end;
}