commit 8bb686d8a01c975c12b6b78a89faeb45bd778518
parent b1dceeca5a8e5bf948d185728631fee114fac6f2
Author: Nick Mathewson <nickm@torproject.org>
Date: Mon, 16 Dec 2019 12:58:58 -0500
Include x509.h in tortls_internal.h.
This gives us the definition of tor_x509_cert_impl_t, and makes us
less dependent on include order.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/lib/tls/tortls_internal.h b/src/lib/tls/tortls_internal.h
@@ -11,6 +11,8 @@
#ifndef TORTLS_INTERNAL_H
#define TORTLS_INTERNAL_H
+#include "lib/tls/x509.h"
+
int tor_errno_to_tls_error(int e);
#ifdef ENABLE_OPENSSL
int tor_tls_get_error(tor_tls_t *tls, int r, int extra,