diff options
author | Matt Caswell <matt@openssl.org> | 2020-10-14 17:28:01 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-11-23 10:01:07 +0100 |
commit | 1fd08e909d6c325e86b0bfdd0c89c2011fa44ce2 (patch) | |
tree | c816ffdb6d5d9d5b1d61e719c2fd7ad898f9cc91 /apps/dhparam.c | |
parent | Add encoder support to dhparam (diff) | |
download | openssl-1fd08e909d6c325e86b0bfdd0c89c2011fa44ce2.tar.xz openssl-1fd08e909d6c325e86b0bfdd0c89c2011fa44ce2.zip |
Remove some unneeded variables from dhparam
Previously changes left some variables behind that were no longer needed.
We now remove them.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13231)
Diffstat (limited to 'apps/dhparam.c')
-rw-r--r-- | apps/dhparam.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/dhparam.c b/apps/dhparam.c index f9587dd71e..6717c952e9 100644 --- a/apps/dhparam.c +++ b/apps/dhparam.c @@ -79,7 +79,6 @@ const OPTIONS dhparam_options[] = { int dhparam_main(int argc, char **argv) { BIO *in = NULL, *out = NULL; - DH *dh = NULL, *alloc_dh = NULL; EVP_PKEY *pkey = NULL, *tmppkey = NULL; EVP_PKEY_CTX *ctx = NULL; char *infile = NULL, *outfile = NULL, *prog; @@ -343,7 +342,6 @@ int dhparam_main(int argc, char **argv) end: if (ret != 0) ERR_print_errors(bio_err); - DH_free(alloc_dh); BIO_free(in); BIO_free_all(out); EVP_PKEY_free(pkey); |