Remove several of the old obsolete FIPS_corrupt_*() functions.
[openssl.git] / fips / aes / fips_aes_selftest.c
index 457dabda387358165ccd31edf477bf6cc26976ba..403f4b74ca06f1b91143f704d64481018c260c3c 100644 (file)
@@ -57,9 +57,9 @@
 #ifdef OPENSSL_FIPS
 static struct
     {
-    unsigned char key[16];
-    unsigned char plaintext[16];
-    unsigned char ciphertext[16];
+    const unsigned char key[16];
+    const unsigned char plaintext[16];
+    const unsigned char ciphertext[16];
     } tests[]=
        {
        {
@@ -72,11 +72,6 @@ static struct
        },
        };
 
-void FIPS_corrupt_aes()
-    {
-    tests[0].key[0]++;
-    }
-
 int FIPS_selftest_aes()
     {
     int n;