]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Whoops. 256 was not big enough.
authorNick Mathewson <nickm@torproject.org>
Fri, 16 Feb 2018 14:40:29 +0000 (09:40 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 16 Feb 2018 14:40:29 +0000 (09:40 -0500)
src/common/crypto.h

index 792533642cbbe7a6d260a014502080c4fcb02c6f..015c5fcfe765987a47ec53b072bff92a62d3b2e1 100644 (file)
@@ -90,7 +90,7 @@ typedef struct crypto_digest_t crypto_digest_t;
 typedef struct crypto_xof_t crypto_xof_t;
 typedef struct crypto_dh_t crypto_dh_t;
 
-#define DIGEST_CHECKPOINT_BYTES (SIZEOF_VOID_P + 256)
+#define DIGEST_CHECKPOINT_BYTES (SIZEOF_VOID_P + 512)
 /** Structure used to temporarily save the a digest object. Only implemented
  * for SHA1 digest for now. */
 typedef struct crypto_digest_checkpoint_t {