Переглянути джерело

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.
Nick Mathewson 7 роки тому
батько
коміт
a8b9aba912
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      src/common/tortls.c

+ 1 - 0
src/common/tortls.c

@@ -17,6 +17,7 @@
 #include "orconfig.h"
 #include "orconfig.h"
 
 
 #define TORTLS_PRIVATE
 #define TORTLS_PRIVATE
+#define TORTLS_OPENSSL_PRIVATE
 
 
 #include <assert.h>
 #include <assert.h>
 #ifdef _WIN32 /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/
 #ifdef _WIN32 /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/