vxRandLibBytes() in ipcrypto/vxRandLib.c should return 1 on success and not 0. (#23)

Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/23
Co-authored-by: siddhant <siddhant.singh@neominds.in>
Co-committed-by: siddhant <siddhant.singh@neominds.in>
This commit is contained in:
2026-07-30 19:34:51 +05:30
committed by neelimap
parent 9198426edf
commit 58f112682b
@@ -59,7 +59,7 @@ static int vxRandLibSeed(const void *buf, int num)
static int vxRandLibBytes(unsigned char *buf, int num) static int vxRandLibBytes(unsigned char *buf, int num)
{ {
fill_random_bytes ((uint8_t *)buf, num); fill_random_bytes ((uint8_t *)buf, num);
return OK; return 1;
} }
static void vxRandLibCleanup(void) static void vxRandLibCleanup(void)