From 932858d5f96470e1b8c8e1a4dfb36540d9df1c56 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 9 Aug 2009 16:42:55 +0000 Subject: Oops, fips_check_rsa isn't static. --- fips/fips_locl.h | 1 + fips/rsa/fips_rsa_gen.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'fips') diff --git a/fips/fips_locl.h b/fips/fips_locl.h index 03fed36e3c..b3ea289ccd 100644 --- a/fips/fips_locl.h +++ b/fips/fips_locl.h @@ -64,6 +64,7 @@ int fips_set_owning_thread(void); void fips_set_selftest_fail(void); int fips_clear_owning_thread(void); unsigned char *fips_signature_witness(void); +int fips_check_rsa(RSA *rsa); #define FIPS_MAX_CIPHER_TEST_SIZE 16 diff --git a/fips/rsa/fips_rsa_gen.c b/fips/rsa/fips_rsa_gen.c index 5739a1ebef..90aaa2f095 100644 --- a/fips/rsa/fips_rsa_gen.c +++ b/fips/rsa/fips_rsa_gen.c @@ -82,7 +82,7 @@ void FIPS_corrupt_rsa_keygen(void) fips_rsa_pairwise_fail = 1; } -static int fips_check_rsa(RSA *rsa) +int fips_check_rsa(RSA *rsa) { const unsigned char tbs[] = "RSA Pairwise Check Data"; unsigned char *ctbuf = NULL, *ptbuf = NULL; -- cgit v1.2.3