summaryrefslogtreecommitdiff
path: root/Cryptlib/Rand/CryptRand.c
diff options
context:
space:
mode:
Diffstat (limited to 'Cryptlib/Rand/CryptRand.c')
-rw-r--r--Cryptlib/Rand/CryptRand.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Cryptlib/Rand/CryptRand.c b/Cryptlib/Rand/CryptRand.c
index 4b275951..a61c0c2a 100644
--- a/Cryptlib/Rand/CryptRand.c
+++ b/Cryptlib/Rand/CryptRand.c
@@ -53,7 +53,11 @@ RandomSeed (
RAND_seed (DefaultSeed, sizeof (DefaultSeed));
}
- return TRUE;
+ if (RAND_status () == 1) {
+ return TRUE;
+ }
+
+ return FALSE;
}
/**