diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-04-13 14:14:41 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-04-13 14:14:41 -0400 |
commit | e22a8d9c956f838138a7e5bc0714b1bb99f0e2a5 (patch) | |
tree | 158c80ae7e12fbb09e8bbff3f0ae5eb4a7691a46 /src/test/test_hs_client.c | |
parent | 80031db32abebaf4d0a91c01db258fcdbd54a471 (diff) | |
parent | 55cb6c3fcdbeac31a88bcc62c0dbe5ded4605176 (diff) | |
download | tor-e22a8d9c956f838138a7e5bc0714b1bb99f0e2a5.tar.gz tor-e22a8d9c956f838138a7e5bc0714b1bb99f0e2a5.zip |
Merge branch 'maint-0.4.3'
Diffstat (limited to 'src/test/test_hs_client.c')
-rw-r--r-- | src/test/test_hs_client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_hs_client.c b/src/test/test_hs_client.c index 0cd9e71fda..ae5cc5ed84 100644 --- a/src/test/test_hs_client.c +++ b/src/test/test_hs_client.c @@ -733,6 +733,10 @@ test_parse_auth_file_content(void *arg) /* Bigger key than it should be */ tt_assert(!parse_auth_file_content("xx:descriptor:x25519:" "vjqea4jbhwwc4hto7ekyvqfbeodghbaq6nxi45hz4wr3qvhqv3yqa")); + /* All-zeroes key */ + tt_assert(!parse_auth_file_content("xx:descriptor:x25519:" + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")); + done: tor_free(auth); } |