diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-12-16 12:58:58 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:30:35 -0500 |
commit | 8bb686d8a01c975c12b6b78a89faeb45bd778518 (patch) | |
tree | aa5fb942561d2432328aaeaa0471fc385a6d8e4f /src/lib/tls/tortls_internal.h | |
parent | b1dceeca5a8e5bf948d185728631fee114fac6f2 (diff) | |
download | tor-8bb686d8a01c975c12b6b78a89faeb45bd778518.tar.gz tor-8bb686d8a01c975c12b6b78a89faeb45bd778518.zip |
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 (limited to 'src/lib/tls/tortls_internal.h')
-rw-r--r-- | src/lib/tls/tortls_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/tls/tortls_internal.h b/src/lib/tls/tortls_internal.h index a7aee524f3..8b7f78233a 100644 --- 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, |