diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-02-08 14:22:22 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2017-03-13 15:55:21 +0200 |
commit | 1f421d8d47e914bfc826616498c22efbb7289b2e (patch) | |
tree | f0be18882963cb93d6c97c9db2e5c0d5474ac7ce /src/test/test_hs_cache.c | |
parent | d0fe199269addb9cab5070691a8b3be186d49986 (diff) | |
download | tor-1f421d8d47e914bfc826616498c22efbb7289b2e.tar.gz tor-1f421d8d47e914bfc826616498c22efbb7289b2e.zip |
prop224: Fix the HS descriptor unittests.
- HS descriptors are now bigger than 10kb.
- encrypted_data_length_is_valid() is not that strict now.
Diffstat (limited to 'src/test/test_hs_cache.c')
-rw-r--r-- | src/test/test_hs_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_hs_cache.c b/src/test/test_hs_cache.c index 64fc1c1e6e..8dac3d1c4b 100644 --- a/src/test/test_hs_cache.c +++ b/src/test/test_hs_cache.c @@ -333,7 +333,7 @@ helper_fetch_desc_from_hsdir(const ed25519_public_key_t *blinded_key) size_t body_used = 0; fetch_from_buf_http(TO_CONN(conn)->outbuf, &headers, MAX_HEADERS_SIZE, - &received_desc, &body_used, 10000, 0); + &received_desc, &body_used, HS_DESC_MAX_LEN, 0); tor_free(headers); } |