diff options
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index 535bfc2600..8386b53bb6 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1068,8 +1068,11 @@ struct circuit_t { */ crypt_path_t *cpath; - /** For storage while passing to cpuworker, or while n_conn is pending. */ - char onionskin[ONIONSKIN_CHALLENGE_LEN]; + /** For storage while passing to cpuworker (state + * CIRCUIT_STATE_ONIONSKIN_PENDING), or while n_conn is pending + * (state CIRCUIT_STATE_OR_WAIT). When defined, it is always + * length ONIONSKIN_CHALLENGE_LEN. */ + char *onionskin; char handshake_digest[DIGEST_LEN]; /**< Stores KH for intermediate hops. */ |