summaryrefslogtreecommitdiffstats
path: root/providers/implementations/rands/seeding/rand_vxworks.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/implementations/rands/seeding/rand_vxworks.c')
-rw-r--r--providers/implementations/rands/seeding/rand_vxworks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/rands/seeding/rand_vxworks.c b/providers/implementations/rands/seeding/rand_vxworks.c
index 12be9357bf..de26b86e25 100644
--- a/providers/implementations/rands/seeding/rand_vxworks.c
+++ b/providers/implementations/rands/seeding/rand_vxworks.c
@@ -136,7 +136,7 @@ size_t ossl_pool_acquire_entropy(RAND_POOL *pool)
RANDOM_NUM_GEN_STATUS status = randStatus();
if ((status == RANDOM_NUM_GEN_ENOUGH_ENTROPY)
- || (status == RANDOM_NUM_GEN_MAX_ENTROPY) ) {
+ || (status == RANDOM_NUM_GEN_MAX_ENTROPY)) {
result = randBytes(buffer, bytes_needed);
if (result == OK)
ossl_rand_pool_add_end(pool, bytes_needed, 8 * bytes_needed);