aboutsummaryrefslogtreecommitdiffstats
path: root/fips/sha
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/sha
parentac892b7aa6532e0345e430208335403ead5d2de1 (diff)
downloadopenssl-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.c7
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;