Explorar el Código

Startup without crashing.

svn:r1452
Nick Mathewson hace 22 años
padre
commit
88e2a09c22
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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_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;