diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-02-16 09:40:29 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-02-16 09:40:29 -0500 |
commit | bbc73c5d1ca8a19b9e78a7edfc214743bbc6132c (patch) | |
tree | a4603483463c7566bb8fdde0fa795c8f2c536ca5 /src | |
parent | a34fc1dad2ba2be5af4c04a9c46c9ef5e248c81f (diff) | |
download | tor-bbc73c5d1ca8a19b9e78a7edfc214743bbc6132c.tar.gz tor-bbc73c5d1ca8a19b9e78a7edfc214743bbc6132c.zip |
Whoops. 256 was not big enough.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/crypto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index 792533642c..015c5fcfe7 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -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 { |