Browse Source

Add tortls.h includes to expose critical macro. Fix #27734.

Nick Mathewson 5 years ago
parent
commit
b729bc202c
2 changed files with 2 additions and 0 deletions
  1. 1 0
      src/core/or/protover.c
  2. 1 0
      src/test/test_protover.c

+ 1 - 0
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
 

+ 1 - 0
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)