From b08e372bf6fc6884d68d7be0e20d2d0a1564f0ea Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 12 Jun 2011 15:37:51 +0000 Subject: [PATCH] Use FIPSCAPABLE for FIPS module functions used in FIPS capable OpenSSL. --- fips/fips.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fips/fips.h b/fips/fips.h index af7cbb819..1bedea4c7 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);