Call wc_SetSeed_Cb and wolfCrypt_SetPrivateKeyReadEnable_fips in wolfSSL_Init.

Additionally, remove wc_SetSeed_Cb calls applications (e.g. example client and
server), since they are now redundant.
This commit is contained in:
Hayden Roche
2021-12-22 14:21:06 -08:00
parent 8670e33baf
commit 52754123d9
8 changed files with 8 additions and 25 deletions
-3
View File
@@ -1754,9 +1754,6 @@ int bench_tls(void* args)
/* Initialize wolfSSL */
wolfSSL_Init();
#ifdef WC_RNG_SEED_CB
wc_SetSeed_Cb(wc_GenerateSeed);
#endif
/* Parse command line arguments */
while ((ch = mygetopt(argc, argv, "?" "udeil:p:t:vT:sch:P:mS:g")) != -1) {