From: Dr. Stephen Henson Date: Mon, 6 Jun 2011 11:24:47 +0000 (+0000) Subject: Function not used outside FIPS builds. X-Git-Tag: OpenSSL_1_0_1-beta1~269 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e51a4caa3bff0ff59f87f7423ba0551593ef48e;p=openssl Function not used outside FIPS builds. --- diff --git a/crypto/rsa/rsa_pmeth.c b/crypto/rsa/rsa_pmeth.c index 7d19f66709..96b05fa7b3 100644 --- a/crypto/rsa/rsa_pmeth.c +++ b/crypto/rsa/rsa_pmeth.c @@ -153,7 +153,7 @@ static void pkey_rsa_cleanup(EVP_PKEY_CTX *ctx) OPENSSL_free(rctx); } } - +#ifdef OPENSSL_FIPS /* FIP checker. Return value indicates status of context parameters: * 1 : redirect to FIPS. * 0 : don't redirect to FIPS. @@ -177,6 +177,7 @@ static int pkey_fips_check_ctx(EVP_PKEY_CTX *ctx) return rv; return 1; } +#endif static int pkey_rsa_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, const unsigned char *tbs, size_t tbslen)