diff --git a/crypto/evp/digest.c b/crypto/evp/digest.c index 13ffbb7209441f6a2474909988742a74ef3ba35f..0143ab6f94da3474c9cec0cb9e3c3f7bc93b8e28 100644 --- a/crypto/evp/digest.c +++ b/crypto/evp/digest.c @@ -137,6 +137,7 @@ int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type) ctx->digest=type; if (type->ctx_size) ctx->md_data=OPENSSL_malloc(type->ctx_size); + } return type->init(ctx); }