aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-04 16:51:31 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-03 11:29:02 -0500
commit5fa1c7484cba293e6467acbca06a4143ce9da68d (patch)
tree5a7c2003488b5882882bb8a31b9080c03080291a /src/or/or.h
parentf7e590df05b1b3568a68ee3eae3965cb58e13de7 (diff)
downloadtor-5fa1c7484cba293e6467acbca06a4143ce9da68d.tar.gz
tor-5fa1c7484cba293e6467acbca06a4143ce9da68d.zip
Refactor the CREATE_FAST handshake code to match the others.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 219336bf72..6fada77005 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2524,6 +2524,7 @@ typedef enum {
#define CRYPT_PATH_MAGIC 0x70127012u
+struct fast_handshake_state_t;
/** Holds accounting information for a single step in the layered encryption
* performed by a circuit. Used only at the client edge of a circuit. */
typedef struct crypt_path_t {
@@ -2550,7 +2551,7 @@ typedef struct crypt_path_t {
* authentication, secrecy, and integrity we need, and we're already
* distinguishable from an OR.
*/
- uint8_t fast_handshake_state[DIGEST_LEN];
+ struct fast_handshake_state_t *fast_handshake_state;
/** Negotiated key material shared with the OR at this step. */
char handshake_digest[DIGEST_LEN];/* KH in tor-spec.txt */