Extract tortls structures into a new header; clean up a little

This commit is contained in:
Nick Mathewson
2018-08-11 19:38:07 -04:00
parent 9a4f05b05c
commit 598bc78bfa
7 changed files with 99 additions and 70 deletions
+1
View File
@@ -24,6 +24,7 @@
#include "core/or/or_handshake_state_st.h"
#include "core/or/var_cell_st.h"
#define TOR_X509_PRIVATE
#include "lib/tls/tortls.h"
#include "lib/tls/x509.h"
+3
View File
@@ -3,6 +3,7 @@
#define TORTLS_PRIVATE
#define TORTLS_OPENSSL_PRIVATE
#define TOR_X509_PRIVATE
#define LOG_PRIVATE
#include "orconfig.h"
@@ -33,7 +34,9 @@ ENABLE_GCC_WARNING(redundant-decls)
#include "core/or/or.h"
#include "lib/log/log.h"
#include "app/config/config.h"
#include "lib/crypt_ops/compat_openssl.h"
#include "lib/tls/tortls.h"
#include "lib/tls/tortls_st.h"
#include "lib/tls/x509.h"
#include "app/config/or_state_st.h"