diff options
Diffstat (limited to 'apps/dsa.c')
-rw-r--r-- | apps/dsa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dsa.c b/apps/dsa.c index 3a799ea17f..9ea1098514 100644 --- a/apps/dsa.c +++ b/apps/dsa.c @@ -79,7 +79,7 @@ int dsa_main(int argc, char **argv) BIO *out = NULL; ENGINE *e = NULL; EVP_PKEY *pkey = NULL; - const EVP_CIPHER *enc = NULL; + EVP_CIPHER *enc = NULL; char *infile = NULL, *outfile = NULL, *prog; char *passin = NULL, *passout = NULL, *passinarg = NULL, *passoutarg = NULL; OPTION_CHOICE o; @@ -289,6 +289,7 @@ int dsa_main(int argc, char **argv) OSSL_ENCODER_CTX_free(ectx); BIO_free_all(out); EVP_PKEY_free(pkey); + EVP_CIPHER_free(enc); release_engine(e); OPENSSL_free(passin); OPENSSL_free(passout); |