From fe3aca149191f2eac410caa7113fb6f7e0804d8c Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Fri, 6 Apr 2018 21:23:29 +0000 Subject: crypto: Refactor (P)RNG functionality into new crypto_rand module. * ADD new /src/common/crypto_rand.[ch] module. * ADD new /src/common/crypto_util.[ch] module (contains the memwipe() function, since all crypto_* modules need this). * FIXES part of #24658: https://bugs.torproject.org/24658 --- src/or/router.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/router.c') diff --git a/src/or/router.c b/src/or/router.c index e5996f665e..c52831348b 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -13,6 +13,8 @@ #include "config.h" #include "connection.h" #include "control.h" +#include "crypto_rand.h" +#include "crypto_util.h" #include "crypto_curve25519.h" #include "directory.h" #include "dirserv.h" -- cgit v1.2.3-54-g00ecf