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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user