aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/openssl/apps/dhparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/apps/dhparam.c')
-rw-r--r--crypto/openssl/apps/dhparam.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/openssl/apps/dhparam.c b/crypto/openssl/apps/dhparam.c
index 465cdfe77bfa..4a9594ea4650 100644
--- a/crypto/openssl/apps/dhparam.c
+++ b/crypto/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;
}