[tor-commits] [tor/master] Change many tortls.h declarations of private APIs to use structs

nickm at torproject.org nickm at torproject.org
Fri Apr 7 13:59:42 UTC 2017


commit a8b9aba912c79e054dfdc5c6c7e64a42bc6ec541
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Mar 31 09:44:36 2017 -0400

    Change many tortls.h declarations of private APIs to use structs
    
    This change makes it so those those APIs will not require prior
    inclusion of openssl headers.  I've left some APIs alone-- those
    will change to be extra-private.
---
 src/common/tortls.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/common/tortls.c b/src/common/tortls.c
index 3034fbc..aa19140 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -17,6 +17,7 @@
 #include "orconfig.h"
 
 #define TORTLS_PRIVATE
+#define TORTLS_OPENSSL_PRIVATE
 
 #include <assert.h>
 #ifdef _WIN32 /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/





More information about the tor-commits mailing list