]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Change many tortls.h declarations of private APIs to use structs
authorNick Mathewson <nickm@torproject.org>
Fri, 31 Mar 2017 13:44:36 +0000 (09:44 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 31 Mar 2017 14:04:45 +0000 (10:04 -0400)
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

index 3034fbcd57e179f9ad4b74d49dd7e3026e67e123..aa1914068a06e2afe3233bb7b638f83aec8a55d9 100644 (file)
@@ -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>"*/