aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-08-11 18:16:04 -0400
committerNick Mathewson <nickm@torproject.org>2018-08-21 12:25:33 -0400
commit9a4f05b05c12687e640d2aed9bb21229138bd1a5 (patch)
tree7beeee355d5cb1b7be3440369d966768721ff9ae /src/core
parent3ccb94d7b6ff6806bc17d71ef461f4211a014879 (diff)
downloadtor-9a4f05b05c12687e640d2aed9bb21229138bd1a5.tar.gz
tor-9a4f05b05c12687e640d2aed9bb21229138bd1a5.zip
Split X509 code out of tortls.c
Diffstat (limited to 'src/core')
-rw-r--r--src/core/or/channeltls.c1
-rw-r--r--src/core/or/connection_or.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/or/channeltls.c b/src/core/or/channeltls.c
index 87f5a02b75..153813c4d6 100644
--- a/src/core/or/channeltls.c
+++ b/src/core/or/channeltls.c
@@ -70,6 +70,7 @@
#include "core/or/var_cell_st.h"
#include "lib/tls/tortls.h"
+#include "lib/tls/x509.h"
/** How many CELL_PADDING cells have we received, ever? */
uint64_t stats_n_padding_cells_processed = 0;
diff --git a/src/core/or/connection_or.c b/src/core/or/connection_or.c
index c5ff10f6a3..08371d1ad7 100644
--- a/src/core/or/connection_or.c
+++ b/src/core/or/connection_or.c
@@ -73,6 +73,7 @@
#include "lib/crypt_ops/crypto_format.h"
#include "lib/tls/tortls.h"
+#include "lib/tls/x509.h"
static int connection_tls_finish_handshake(or_connection_t *conn);
static int connection_or_launch_v3_or_handshake(or_connection_t *conn);