summaryrefslogtreecommitdiffstats
path: root/fips/aes
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-04-14 16:14:41 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-04-14 16:14:41 +0000
commit9338f290d193bd7497c66d37702cff21ebad8695 (patch)
treed3c186da1d27b3e8d3fb6eb520cda1cb10e79c23 /fips/aes
parent8038511c27a530f6da76c8826a8d5614e806ba44 (diff)
Revise fips_test_suite to use table of IDs for human readable strings.
Modify HMAC selftest callbacks to notify each digest type used.
Diffstat (limited to 'fips/aes')
-rw-r--r--fips/aes/fips_aes_selftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fips/aes/fips_aes_selftest.c b/fips/aes/fips_aes_selftest.c
index 8b0ffafd70..b84eda4a27 100644
--- a/fips/aes/fips_aes_selftest.c
+++ b/fips/aes/fips_aes_selftest.c
@@ -134,7 +134,7 @@ int FIPS_selftest_aes_gcm(void)
memset(tag, 0, sizeof(tag));
if (!fips_post_started(FIPS_TEST_GCM, 0, 0))
return 1;
- if (!fips_post_corrupt(FIPS_TEST_HMAC, 0, NULL))
+ if (!fips_post_corrupt(FIPS_TEST_GCM, 0, NULL))
do_corrupt = 1;
if (!FIPS_cipherinit(&ctx, EVP_aes_256_gcm(), NULL, NULL, 1))
goto err;