From 2259de0de726f3f617b2451d64f72f0d4d6bc0ae Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 8 Dec 2015 10:54:42 -0500 Subject: Always hash crypto_strongest_rand() along with some prng (before using it for anything besides feeding the PRNG) Part of #17694 --- src/ext/ed25519/ref10/randombytes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ext/ed25519/ref10') diff --git a/src/ext/ed25519/ref10/randombytes.h b/src/ext/ed25519/ref10/randombytes.h index fc709fcefc..8bf31631f0 100644 --- a/src/ext/ed25519/ref10/randombytes.h +++ b/src/ext/ed25519/ref10/randombytes.h @@ -1,4 +1,4 @@ /* Added for Tor. */ #include "crypto.h" #define randombytes(b, n) \ - (crypto_strongest_rand((b), (n))) + (crypto_strongest_rand((b), (n)), 0) -- cgit v1.2.3-54-g00ecf