aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2018-02-03 16:16:33 +0100
committerFernando Fernandez Mancera <ffmancera@riseup.net>2018-02-03 17:04:36 +0100
commit61c7ec29f1951ddb7a8fe5109b86eb29686507b7 (patch)
tree657ead2f9902c585faa37bac0656b22637147578 /src/common/tortls.c
parent202d27af71014169539863cbf81ddf3411a05258 (diff)
downloadtor-61c7ec29f1951ddb7a8fe5109b86eb29686507b7.tar.gz
tor-61c7ec29f1951ddb7a8fe5109b86eb29686507b7.zip
Include crypto_digest.h in order to solve dependency issues.
Included crypto_digest.h in some files in order to solve xof+digest module dependency issues. Removed crypto.h where it isn't needed anymore. Follows #24658. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 86a876780a..777bdda167 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -25,6 +25,7 @@
#include <ws2tcpip.h>
#endif
+#include "crypto.h"
#include "compat.h"
/* Some versions of OpenSSL declare SSL_get_selected_srtp_profile twice in
@@ -32,7 +33,6 @@
DISABLE_GCC_WARNING(redundant-decls)
#include <openssl/opensslv.h>
-#include "crypto.h"
#ifdef OPENSSL_NO_EC
#error "We require OpenSSL with ECC support"