summaryrefslogtreecommitdiffstats
path: root/fips/dsa
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-04-14 11:30:51 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-04-14 11:30:51 +0000
commita6311f856b9ed7d71460872148a735335338918e (patch)
treece18fd7f9d824d022f8eac0a43ec6b0bcddc08fe /fips/dsa
parentac892b7aa6532e0345e430208335403ead5d2de1 (diff)
Remove several of the old obsolete FIPS_corrupt_*() functions.
Diffstat (limited to 'fips/dsa')
-rw-r--r--fips/dsa/fips_dsa_selftest.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fips/dsa/fips_dsa_selftest.c b/fips/dsa/fips_dsa_selftest.c
index 8d894256f6..9617ab14bc 100644
--- a/fips/dsa/fips_dsa_selftest.c
+++ b/fips/dsa/fips_dsa_selftest.c
@@ -84,7 +84,7 @@ static const unsigned char dsa_test_2048_p[] = {
0x2c,0x8d,0x74,0x69,0xdb,0x02,0xe2,0x4d,0x59,0x23,0x94,0xa7,
0xdb,0xa0,0x69,0xe9
};
-static unsigned char dsa_test_2048_q[] = {
+static const unsigned char dsa_test_2048_q[] = {
0xd2,0x77,0x04,0x4e,0x50,0xf5,0xa4,0xe3,0xf5,0x10,0xa5,0x0a,
0x0b,0x84,0xfd,0xff,0xbc,0xa0,0x47,0xed,0x27,0x60,0x20,0x56,
0x74,0x41,0xa0,0xa5
@@ -144,11 +144,6 @@ static const unsigned char dsa_test_2048_priv_key[] = {
0xec,0x55,0xf6,0xcc
};
-void FIPS_corrupt_dsa()
- {
- ++dsa_test_2048_q[0];
- }
-
int FIPS_selftest_dsa()
{
DSA *dsa=NULL;