summaryrefslogtreecommitdiff
path: root/fips/des
diff options
context:
space:
mode:
authorsteve <steve>2011-04-14 11:15:06 +0000
committersteve <steve>2011-04-14 11:15:06 +0000
commit3b140c1f170f93b3c003c05f4ecd91e6d0425fc9 (patch)
treec5e7fd3e14b46343ab5a9df5d89805cf692275f2 /fips/des
parent9072e8cf189080a6f55cbf853d1b13c29f048488 (diff)
downloadopenssl-3b140c1f170f93b3c003c05f4ecd91e6d0425fc9.tar.gz
Initial incomplete POST overhaul: add support for POST callback to
allow status of POST to be monitored and/or failures induced.
Diffstat (limited to 'fips/des')
-rw-r--r--fips/des/fips_des_selftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fips/des/fips_des_selftest.c b/fips/des/fips_des_selftest.c
index 6ce556e2b..9eea54656 100644
--- a/fips/des/fips_des_selftest.c
+++ b/fips/des/fips_des_selftest.c
@@ -115,7 +115,7 @@ int FIPS_selftest_des()
/* Encrypt/decrypt with 3DES and compare to known answers */
for(n=0 ; n < 2 ; ++n)
{
- if (!fips_cipher_test(&ctx, EVP_des_ede3_ecb(),
+ if (!fips_cipher_test(FIPS_TEST_CIPHER, &ctx, EVP_des_ede3_ecb(),
tests3[n].key, NULL,
tests3[n].plaintext, tests3[n].ciphertext, 8))
goto err;