aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-03 01:11:04 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-03 01:11:04 +0000
commit88e2a09c225ecb5196cb640673c9f67f999f8ef0 (patch)
tree76312d1376e2964d3ae38ec7dd624de4772c177f
parentfc4d15baf6d3833015feeceb0c9374304bb9900c (diff)
downloadtor-88e2a09c225ecb5196cb640673c9f67f999f8ef0.tar
tor-88e2a09c225ecb5196cb640673c9f67f999f8ef0.tar.gz
Startup without crashing.
svn:r1452
-rw-r--r--src/or/or.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index bfff91be5..5160e6a23 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -482,7 +482,7 @@ struct crypt_path_t {
crypto_digest_env_t *b_digest;
crypto_dh_env_t *handshake_state;
- char handshake_digest[CRYPTO_SHA1_DIGEST];/* KH in tor-spec.txt */
+ char handshake_digest[CRYPTO_SHA1_DIGEST_LEN];/* KH in tor-spec.txt */
uint32_t addr;
uint16_t port;