From 52722529d0803ca1fa2a669d1163a22be28ee6fc Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Thu, 16 Jun 2016 05:08:37 +0300 Subject: [PATCH] sxt: cleanup, minor easy to view commit; --- sxt/core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sxt/core.c b/sxt/core.c index dac82ef..cf347aa 100644 --- a/sxt/core.c +++ b/sxt/core.c @@ -68,12 +68,13 @@ int sxt_finish(void) int sxt_get_random(void *data, int len, int pseudo) { if(pseudo) return RAND_bytes(data, len); - else + else { #if OPENSSL_API_COMPAT < 0x10100000L RAND_pseudo_bytes(data, len); #else - RAND_bytes(data, len); + RAND_bytes(data, len); #endif + } return 1; }