projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Have all algorithm test programs call fips_algtest_init() at startup:
[openssl.git]
/
fips
/
cmac
/
fips_cmactest.c
diff --git
a/fips/cmac/fips_cmactest.c
b/fips/cmac/fips_cmactest.c
index cc07265370b2b349f3f7efdfa77d60552e3293c0..c2da660c678cbd6770d454b3055a4ed0046970ad 100644
(file)
--- a/
fips/cmac/fips_cmactest.c
+++ b/
fips/cmac/fips_cmactest.c
@@
-102,9
+102,7
@@
int main(int argc, char **argv)
int known_keylen = 0; /* Only set when Klen_counts_keys = 1 */
const EVP_CIPHER *cipher = 0;
int ret = 1;
int known_keylen = 0; /* Only set when Klen_counts_keys = 1 */
const EVP_CIPHER *cipher = 0;
int ret = 1;
- fips_set_error_print();
- if(!FIPS_mode_set(1))
- goto end;
+ fips_algtest_init();
while (argc > 1 && argv[1][0] == '-')
{
while (argc > 1 && argv[1][0] == '-')
{