Oops, fips_check_rsa isn't static.

This commit is contained in:
Dr. Stephen Henson 2009-08-09 16:42:55 +00:00
parent c4b3503b4b
commit 932858d5f9
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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;