diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-04-26 14:26:22 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-05-03 18:15:26 +0300 |
commit | 4060b7623d3845a4d4ecdbf8f9c219e0148e1380 (patch) | |
tree | e7debcebc3f604ecdd7d010bcaa7d59bca218c6e /src/core/or/crypt_path_st.h | |
parent | 2e9e3e7d4198ff75e6bd12bc7a38c0f288fbe381 (diff) | |
download | tor-4060b7623d3845a4d4ecdbf8f9c219e0148e1380.tar.gz tor-4060b7623d3845a4d4ecdbf8f9c219e0148e1380.zip |
Revert "Hiding crypt_path_t: Create a constructor for crypt_path_t."
This reverts commit ab8b80944967ee5a6a0c45dbf61839cf257bfe44.
Diffstat (limited to 'src/core/or/crypt_path_st.h')
-rw-r--r-- | src/core/or/crypt_path_st.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/or/crypt_path_st.h b/src/core/or/crypt_path_st.h index 7da3c57f49..833cfefad1 100644 --- a/src/core/or/crypt_path_st.h +++ b/src/core/or/crypt_path_st.h @@ -8,6 +8,9 @@ #define CRYPT_PATH_ST_H #include "core/or/relay_crypto_st.h" +struct crypto_dh_t; + +#define CRYPT_PATH_MAGIC 0x70127012u struct fast_handshake_state_t; struct ntor_handshake_state_t; @@ -23,8 +26,6 @@ struct onion_handshake_state_t { #ifdef CRYPT_PATH_PRIVATE -#define CRYPT_PATH_MAGIC 0x70127012u - /* The private parts of crypt path that don't need to be exposed to all the * modules. */ struct crypt_path_private_t { |