Fix hcrypto evp_md cleanup call protocol
This commit is contained in:
@@ -180,7 +180,7 @@ int
|
|||||||
EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) HC_DEPRECATED
|
EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) HC_DEPRECATED
|
||||||
{
|
{
|
||||||
if (ctx->md && ctx->md->cleanup) {
|
if (ctx->md && ctx->md->cleanup) {
|
||||||
int ret = (ctx->md->cleanup)(ctx);
|
int ret = (ctx->md->cleanup)(ctx->ptr);
|
||||||
if (!ret)
|
if (!ret)
|
||||||
return ret;
|
return ret;
|
||||||
} else if (ctx->md) {
|
} else if (ctx->md) {
|
||||||
|
Reference in New Issue
Block a user