[tor-commits] [tor/master] Add tortls.h includes to expose critical macro. Fix #27734.

nickm at torproject.org nickm at torproject.org
Mon Sep 17 02:08:11 UTC 2018


commit b729bc202c74113c69d2b50521194a7dd4b5d5a9
Author: Nick Mathewson <nickm at torproject.org>
Date:   Sun Sep 16 22:08:02 2018 -0400

    Add tortls.h includes to expose critical macro. Fix #27734.
---
 src/core/or/protover.c   | 1 +
 src/test/test_protover.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/core/or/protover.c b/src/core/or/protover.c
index 70606af41..0f6f0e79f 100644
--- a/src/core/or/protover.c
+++ b/src/core/or/protover.c
@@ -26,6 +26,7 @@
 #include "core/or/or.h"
 #include "core/or/protover.h"
 #include "feature/nodelist/routerparse.h"
+#include "lib/tls/tortls.h"
 
 #ifndef HAVE_RUST
 
diff --git a/src/test/test_protover.c b/src/test/test_protover.c
index 8da1e9d8a..123faccda 100644
--- a/src/test/test_protover.c
+++ b/src/test/test_protover.c
@@ -10,6 +10,7 @@
 
 #include "core/or/or.h"
 #include "core/or/connection_or.h"
+#include "lib/tls/tortls.h"
 
 static void
 test_protover_parse(void *arg)



More information about the tor-commits mailing list