diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-09-17 08:19:53 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-09-17 08:19:53 -0400 |
commit | 22643272d24fdcd106887b792f2e36dc604029c0 (patch) | |
tree | 1ca93a075253982e4a628fa7f5b880890e0ae9b8 /src/test/test_hs_descriptor.c | |
parent | c92e19268bcff04e4726e4f243f7125de66d2c2d (diff) | |
download | tor-22643272d24fdcd106887b792f2e36dc604029c0.tar.gz tor-22643272d24fdcd106887b792f2e36dc604029c0.zip |
Fix wide lines
Diffstat (limited to 'src/test/test_hs_descriptor.c')
-rw-r--r-- | src/test/test_hs_descriptor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/test_hs_descriptor.c b/src/test/test_hs_descriptor.c index 0525335025..b6e13c79a8 100644 --- a/src/test/test_hs_descriptor.c +++ b/src/test/test_hs_descriptor.c @@ -726,8 +726,9 @@ test_validate_cert(void *arg) tor_cert_free(cert); /* Try a cert without including the signing key. */ - cert = tor_cert_create_ed25519(&kp, CERT_TYPE_AUTH_HS_IP_KEY, &kp.pubkey, now, - 3600, 0); + cert = tor_cert_create_ed25519(&kp, CERT_TYPE_AUTH_HS_IP_KEY, + &kp.pubkey, now, 3600, 0); + tt_assert(cert); /* Test with a bad type. */ ret = cert_is_valid(cert, CERT_TYPE_AUTH_HS_IP_KEY, "unicorn"); |