Use FIPSCAPABLE for FIPS module functions used in FIPS capable OpenSSL.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 12 Jun 2011 15:37:51 +0000 (15:37 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 12 Jun 2011 15:37:51 +0000 (15:37 +0000)
fips/fips.h

index af7cbb8..1bedea4 100644 (file)
@@ -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);