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/common/workqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/workqueue.c') diff --git a/src/common/workqueue.c b/src/common/workqueue.c index ec96959b7d..de0079b757 100644 --- a/src/common/workqueue.c +++ b/src/common/workqueue.c @@ -25,7 +25,7 @@ #include "orconfig.h" #include "compat.h" #include "compat_threads.h" -#include "crypto.h" +#include "crypto_rand.h" #include "util.h" #include "workqueue.h" #include "tor_queue.h" -- cgit v1.2.3-54-g00ecf