summaryrefslogtreecommitdiffstats
path: root/crypto/rsa
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-06-06 11:24:47 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-06-06 11:24:47 +0000
commit2e51a4caa3bff0ff59f87f7423ba0551593ef48e (patch)
tree34e2a4a6ea5c9a4d4e84e7eb53dd4305f11cb6c2 /crypto/rsa
parentc6fa97a6d6fffb057b3b96e7c0b75711dfd3bbc8 (diff)
Function not used outside FIPS builds.
Diffstat (limited to 'crypto/rsa')
-rw-r--r--crypto/rsa/rsa_pmeth.c3
1 files changed, 2 insertions, 1 deletions
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)