diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-08-09 16:42:55 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-08-09 16:42:55 +0000 |
commit | 932858d5f96470e1b8c8e1a4dfb36540d9df1c56 (patch) | |
tree | 898018b6b2d8e6d8aadb3d0ae17cb0900d50717f /fips | |
parent | c4b3503b4bc8c70e548df084bf4c5cea25c85c28 (diff) |
Oops, fips_check_rsa isn't static.
Diffstat (limited to 'fips')
-rw-r--r-- | fips/fips_locl.h | 1 | ||||
-rw-r--r-- | fips/rsa/fips_rsa_gen.c | 2 |
2 files changed, 2 insertions, 1 deletions
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; |