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
/
rand
/
fips_randtest.c
diff --git
a/fips/rand/fips_randtest.c
b/fips/rand/fips_randtest.c
index b211a039c085f7cc7c2bb53ae245623de28ece31..3465bc3029d61581b0722e6d115ab5ed8a3cf44f 100644
(file)
--- a/
fips/rand/fips_randtest.c
+++ b/
fips/rand/fips_randtest.c
@@
-241,7
+241,7
@@
static void run_test(unsigned char *key, int keylen, AES_PRNG_MCT *tv)
int main()
{
- fips_
set_error_prin
t();
+ fips_
algtest_ini
t();
run_test(aes_128_mct_key, 16, &aes_128_mct_tv);
printf("FIPS PRNG test 1 done\n");
run_test(aes_192_mct_key, 24, &aes_192_mct_tv);