Remove several of the old obsolete FIPS_corrupt_*() functions.
[openssl.git] / fips / sha / fips_sha1_selftest.c
index e0f0c12d9ee899322f090553045197ef1296a369..3c8ca2be20e0e84c3180d71ab7a71029c647560a 100644 (file)
@@ -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;