We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fa8388 commit e823da9Copy full SHA for e823da9
1 file changed
examples/benchmark/tls_bench.c
@@ -388,9 +388,10 @@ int DoneHandShake = 0;
388
static int run_all_CAST(void)
389
{
390
int ret = 0;
391
+ int cast_idx = 0;
392
- for (int i=0; i<FIPS_CAST_COUNT; i++) {
393
- if ((ret = wc_RunCast_fips(i)) != 0) {
+ for (cast_idx=0; cast_idx<FIPS_CAST_COUNT; cast_idx++) {
394
+ if ((ret = wc_RunCast_fips(cast_idx)) != 0) {
395
#ifdef NO_ERROR_STRINGS
396
fprintf(stderr,
397
"ERROR: FIPS CAST failed with return code: %d\n", ret);
0 commit comments