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 af7cbb819a5896ad2411f234fb5820298635e694..1bedea4c7d6e9bc161f4b04a23270ff78e1ca350 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);