summaryrefslogtreecommitdiffstats
path: root/fips/aes
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/aes
parentac892b7aa6532e0345e430208335403ead5d2de1 (diff)
Remove several of the old obsolete FIPS_corrupt_*() functions.
Diffstat (limited to 'fips/aes')
-rw-r--r--fips/aes/fips_aes_selftest.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/fips/aes/fips_aes_selftest.c b/fips/aes/fips_aes_selftest.c
index 457dabda38..403f4b74ca 100644
--- a/fips/aes/fips_aes_selftest.c
+++ b/fips/aes/fips_aes_selftest.c
@@ -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;