summaryrefslogtreecommitdiff
path: root/src/or/crypt_path_st.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/crypt_path_st.h')
-rw-r--r--src/or/crypt_path_st.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/or/crypt_path_st.h b/src/or/crypt_path_st.h
index 7d38c73752..0fde1fab0e 100644
--- a/src/or/crypt_path_st.h
+++ b/src/or/crypt_path_st.h
@@ -10,6 +10,20 @@
#include "or/relay_crypto_st.h"
struct crypto_dh_t;
+#define CRYPT_PATH_MAGIC 0x70127012u
+
+struct fast_handshake_state_t;
+struct ntor_handshake_state_t;
+struct crypto_dh_t;
+struct onion_handshake_state_t {
+ uint16_t tag;
+ union {
+ struct fast_handshake_state_t *fast;
+ struct crypto_dh_t *tap;
+ struct ntor_handshake_state_t *ntor;
+ } u;
+};
+
/** Holds accounting information for a single step in the layered encryption
* performed by a circuit. Used only at the client edge of a circuit. */
struct crypt_path_t {