From 58f112682bf5711c6e730e58f59886940095a8c6 Mon Sep 17 00:00:00 2001 From: siddhant Date: Sat, 28 Mar 2026 05:45:01 +0000 Subject: [PATCH] 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 Co-committed-by: siddhant --- vxworks-6.9/target/src/openssl/ipcrypto/vxRandLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vxworks-6.9/target/src/openssl/ipcrypto/vxRandLib.c b/vxworks-6.9/target/src/openssl/ipcrypto/vxRandLib.c index c0472151..e9579e98 100644 --- a/vxworks-6.9/target/src/openssl/ipcrypto/vxRandLib.c +++ b/vxworks-6.9/target/src/openssl/ipcrypto/vxRandLib.c @@ -59,7 +59,7 @@ static int vxRandLibSeed(const void *buf, int num) static int vxRandLibBytes(unsigned char *buf, int num) { fill_random_bytes ((uint8_t *)buf, num); - return OK; + return 1; } static void vxRandLibCleanup(void)