[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Include x509.h in tortls_internal.h.



commit 8bb686d8a01c975c12b6b78a89faeb45bd778518
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Mon Dec 16 12:58:58 2019 -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.
---
 src/lib/tls/tortls_internal.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/tls/tortls_internal.h b/src/lib/tls/tortls_internal.h
index a7aee524f..8b7f78233 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,



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits