forked from wolfSSL/wolfssl
fix for benign sign clash in wc_RNG_GenerateBlock().
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user