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 /fips/sha | |
parent | ac892b7aa6532e0345e430208335403ead5d2de1 (diff) | |
download | openssl-a6311f856b9ed7d71460872148a735335338918e.tar.gz |
Remove several of the old obsolete FIPS_corrupt_*() functions.
Diffstat (limited to 'fips/sha')
-rw-r--r-- | fips/sha/fips_sha1_selftest.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fips/sha/fips_sha1_selftest.c b/fips/sha/fips_sha1_selftest.c index e0f0c12d9e..3c8ca2be20 100644 --- a/fips/sha/fips_sha1_selftest.c +++ b/fips/sha/fips_sha1_selftest.c @@ -56,7 +56,7 @@ #include <openssl/sha.h> #ifdef OPENSSL_FIPS -static unsigned char test[][60]= +static const unsigned char test[][60]= { "", "abc", @@ -73,11 +73,6 @@ static const unsigned char ret[][SHA_DIGEST_LENGTH]= 0x4a,0xa1,0xf9,0x51,0x29,0xe5,0xe5,0x46,0x70,0xf1 }, }; -void FIPS_corrupt_sha1() - { - test[2][0]++; - } - int FIPS_selftest_sha1() { int rv = 1; |