From 8de0ae0e73b9c0079962367a4569c2b6185a7672 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 26 Apr 2013 17:03:50 -0700 Subject: [PATCH] Call randombytes_stir() in sodium_init(). --- src/libsodium/sodium/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsodium/sodium/core.c b/src/libsodium/sodium/core.c index bf197b76..71673b92 100644 --- a/src/libsodium/sodium/core.c +++ b/src/libsodium/sodium/core.c @@ -12,6 +12,7 @@ sodium_init(void) if (initialized != 0) { return 1; } + randombytes_stir(); if (crypto_onetimeauth_pick_best_implementation() == NULL) { return -1; }