From d539be33590f7dfb0013187502744286f2959ee3 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 14 May 2016 22:08:10 +0100 Subject: crypto: make clear generate_random_bytes is not thread safe And add a thread safe version to encourage proper use --- src/crypto/random.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto/random.h') diff --git a/src/crypto/random.h b/src/crypto/random.h index 322b5bad1..b0d2303b6 100644 --- a/src/crypto/random.h +++ b/src/crypto/random.h @@ -32,4 +32,4 @@ #include -void generate_random_bytes(size_t n, void *result); +void generate_random_bytes_not_thread_safe(size_t n, void *result); -- cgit v1.2.3