projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
free NULL cleanup
[openssl.git]
/
crypto
/
evp
/
digest.c
diff --git
a/crypto/evp/digest.c
b/crypto/evp/digest.c
index 48c7b00b4c8732f0e7bdb334670a2e4d55f663a2..ce95350bfd991c61225e589bc43c7c91844e7f2e 100644
(file)
--- a/
crypto/evp/digest.c
+++ b/
crypto/evp/digest.c
@@
-352,8
+352,7
@@
int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx)
OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size);
OPENSSL_free(ctx->md_data);
}
- if (ctx->pctx)
- EVP_PKEY_CTX_free(ctx->pctx);
+ EVP_PKEY_CTX_free(ctx->pctx);
#ifndef OPENSSL_NO_ENGINE
if (ctx->engine)
/*