From: Dr. Stephen Henson Date: Wed, 12 Mar 2003 02:31:12 +0000 (+0000) Subject: Fixes for EVP_DigestInit_ex() and OPENSSL_NO_ENGINE. X-Git-Tag: OpenSSL_0_9_7b~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b35ca7b25739957b9e47cfe6ccd4d61617cc7b93;p=openssl 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)