prop224: Fix the HS descriptor unittests.

- HS descriptors are now bigger than 10kb.
- encrypted_data_length_is_valid() is not that strict now.
This commit is contained in:
George Kadianakis
2017-02-08 14:22:22 +02:00
parent d0fe199269
commit 1f421d8d47
2 changed files with 2 additions and 10 deletions
+1 -1
View File
@@ -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);
}