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/hs_client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/hs_client.c') diff --git a/src/or/hs_client.c b/src/or/hs_client.c index 20963cd453..f07426052e 100644 --- a/src/or/hs_client.c +++ b/src/or/hs_client.c @@ -13,6 +13,8 @@ #include "hs_ident.h" #include "connection_edge.h" #include "container.h" +#include "crypto_rand.h" +#include "crypto_util.h" #include "rendclient.h" #include "hs_descriptor.h" #include "hs_cache.h" -- cgit v1.2.3-54-g00ecf