diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-04-14 11:30:51 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-04-14 11:30:51 +0000 |
commit | a6311f856b9ed7d71460872148a735335338918e (patch) | |
tree | ce18fd7f9d824d022f8eac0a43ec6b0bcddc08fe /crypto/dsa/dsa_key.c | |
parent | ac892b7aa6532e0345e430208335403ead5d2de1 (diff) |
Remove several of the old obsolete FIPS_corrupt_*() functions.
Diffstat (limited to 'crypto/dsa/dsa_key.c')
-rw-r--r-- | crypto/dsa/dsa_key.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/crypto/dsa/dsa_key.c b/crypto/dsa/dsa_key.c index 39cf6b790d..c7589873a4 100644 --- a/crypto/dsa/dsa_key.c +++ b/crypto/dsa/dsa_key.c @@ -71,13 +71,6 @@ #include <openssl/fips.h> #include <openssl/evp.h> -static int fips_dsa_pairwise_fail = 0; - -void FIPS_corrupt_dsa_keygen(void) - { - fips_dsa_pairwise_fail = 1; - } - static int fips_check_dsa(DSA *dsa) { EVP_PKEY pk; @@ -159,8 +152,6 @@ static int dsa_builtin_keygen(DSA *dsa) dsa->priv_key=priv_key; dsa->pub_key=pub_key; #ifdef OPENSSL_FIPS - if (fips_dsa_pairwise_fail) - BN_add_word(dsa->pub_key, 1); if(!fips_check_dsa(dsa)) { dsa->pub_key = NULL; |