fix for benign sign clash in wc_RNG_GenerateBlock().

This commit is contained in:
Daniel Pouzzner
2023-05-17 01:05:33 -05:00
parent 5aceae1d1c
commit 85e0bf337b

View File

@ -1864,7 +1864,7 @@ int wc_RNG_GenerateBlock(WC_RNG* rng, byte* output, word32 sz)
#ifdef CUSTOM_RAND_GENERATE_BLOCK
XMEMSET(output, 0, sz);
ret = CUSTOM_RAND_GENERATE_BLOCK(output, sz);
ret = (int)CUSTOM_RAND_GENERATE_BLOCK(output, sz);
#else
#ifdef HAVE_HASHDRBG