summaryrefslogtreecommitdiffstats
path: root/crypto/evp/digest.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2003-03-12 02:31:40 +0000
committerDr. Stephen Henson <steve@openssl.org>2003-03-12 02:31:40 +0000
commit90e8a3102b62fb4d30cb2d105b93f55cbee75136 (patch)
tree14aea7ed378c018de5302e0dafcb324a362f7cf6 /crypto/evp/digest.c
parent879650b866996f343e494ebe04503fedd534e5a2 (diff)
Fixes for EVP_DigestInit_ex() and OPENSSL_NO_ENGINE.
Diffstat (limited to 'crypto/evp/digest.c')
-rw-r--r--crypto/evp/digest.c2
1 files changed, 1 insertions, 1 deletions
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)