Skip to content

Commit d1f786d

Browse files
committed
Fix up for CI
1 parent 3754c94 commit d1f786d

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/wp_drbg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ static int wp_drbg_generate(wp_DrbgCtx* ctx, unsigned char* out,
307307
ok = 0;
308308
}
309309
if (ok) {
310-
rc = wc_RNG_GenerateBlock(ctx->rng, out, outLen);
310+
rc = wc_RNG_GenerateBlock(ctx->rng, out, (word32)outLen);
311311
if (rc != 0) {
312312
WOLFPROV_MSG_DEBUG_RETCODE(WP_LOG_COMP_RNG, "wc_RNG_GenerateBlock", rc);
313313
ok = 0;

src/wp_internal.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ int wp_init_cast(int algo)
125125
wc_RunCast_fips(FIPS_CAST_AES_GCM) != 0) {
126126
ok = 0;
127127
}
128-
ok = 0; /* Force AES CAST failure for CI dashboard testing */
129128
break;
130129
#endif
131130
#ifdef WP_HAVE_HMAC

0 commit comments

Comments
 (0)