Browse Source

Startup without crashing.

svn:r1452
Nick Mathewson 21 years ago
parent
commit
88e2a09c22
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/or.h

+ 1 - 1
src/or/or.h

@@ -482,7 +482,7 @@ struct crypt_path_t {
   crypto_digest_env_t *b_digest;
   crypto_digest_env_t *b_digest;
 
 
   crypto_dh_env_t *handshake_state;
   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;
   uint32_t addr;
   uint16_t port;
   uint16_t port;