summaryrefslogtreecommitdiffstats
path: root/src/include/openssl/rand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/openssl/rand.h')
-rw-r--r--src/include/openssl/rand.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/openssl/rand.h b/src/include/openssl/rand.h
index 6186044..01ef4f8 100644
--- a/src/include/openssl/rand.h
+++ b/src/include/openssl/rand.h
@@ -22,8 +22,10 @@ extern "C" {
#endif
-/* RAND_bytes writes |len| bytes of random data to |buf|. It returns one on
- * success and zero on otherwise. */
+/* Random number generation. */
+
+
+/* RAND_bytes writes |len| bytes of random data to |buf| and returns one. */
OPENSSL_EXPORT int RAND_bytes(uint8_t *buf, size_t len);
/* RAND_cleanup frees any resources used by the RNG. This is not safe if other