From 315029188e94b25a3e338e3b9380b34ef34fbe1c Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 1 Jun 2015 10:22:01 +0200 Subject: [PATCH] Suggest randombytes_stir() --- src/libsodium/include/sodium/randombytes_salsa20_random.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libsodium/include/sodium/randombytes_salsa20_random.h b/src/libsodium/include/sodium/randombytes_salsa20_random.h index 46d38c54..e6d291c5 100644 --- a/src/libsodium/include/sodium/randombytes_salsa20_random.h +++ b/src/libsodium/include/sodium/randombytes_salsa20_random.h @@ -4,8 +4,9 @@ /* * THREAD SAFETY: randombytes_salsa20_random*() functions are - * fork()-safe but not thread-safe. - * Always wrap them in a mutex if you need thread safety. + * not thread-safe. + * Always wrap them in a mutex if you need thread safety, + * and call randombytes_stir() after fork()ing. */ #include