From: Dr. Stephen Henson Date: Wed, 12 Mar 2003 02:31:40 +0000 (+0000) Subject: Fixes for EVP_DigestInit_ex() and OPENSSL_NO_ENGINE. X-Git-Tag: BEN_FIPS_TEST_1~38^2~265 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=90e8a3102b62fb4d30cb2d105b93f55cbee75136 Fixes for EVP_DigestInit_ex() and OPENSSL_NO_ENGINE. --- diff --git a/crypto/evp/digest.c b/crypto/evp/digest.c index 5b2104ac12..b22eed4421 100644 --- a/crypto/evp/digest.c +++ b/crypto/evp/digest.c @@ -187,12 +187,12 @@ int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl) ctx->engine = NULL; } else -#endif if(!ctx->digest) { EVPerr(EVP_F_EVP_DIGESTINIT, EVP_R_NO_DIGEST_SET); return 0; } +#endif if (ctx->digest != type) { if (ctx->digest && ctx->digest->ctx_size)