From: Dr. Stephen Henson Date: Sun, 12 Jun 2011 15:37:51 +0000 (+0000) Subject: Use FIPSCAPABLE for FIPS module functions used in FIPS capable OpenSSL. X-Git-Tag: OpenSSL-fips-2_0-rc1~325 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b08e372bf6fc6884d68d7be0e20d2d0a1564f0ea;p=openssl Use FIPSCAPABLE for FIPS module functions used in FIPS capable OpenSSL. --- diff --git a/fips/fips.h b/fips/fips.h index af7cbb819a..1bedea4c7d 100644 --- a/fips/fips.h +++ b/fips/fips.h @@ -212,7 +212,7 @@ int FIPS_rsa_verify_digest(struct rsa_st *rsa, const struct env_md_st *mgf1Hash, const unsigned char *sigbuf, unsigned int siglen); -#ifndef OPENSSL_FIPSCANISTER +#ifdef OPENSSL_FIPSCAPABLE int FIPS_digestinit(EVP_MD_CTX *ctx, const EVP_MD *type); int FIPS_digestupdate(EVP_MD_CTX *ctx, const void *data, size_t count);