diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-16 18:28:25 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-21 10:31:29 -0500 |
commit | bd0efb270219d02c75b8a6a1f7964cd986e2cdc6 (patch) | |
tree | da5126b218aba14441b14091e7b3ab89aae32c1d /src/feature/hs/hs_descriptor.c | |
parent | 4532c7ef6aa96d502412cbc61da91369bc3eaa44 (diff) | |
download | tor-bd0efb270219d02c75b8a6a1f7964cd986e2cdc6.tar.gz tor-bd0efb270219d02c75b8a6a1f7964cd986e2cdc6.zip |
Remove a dead BUG() check.
Diffstat (limited to 'src/feature/hs/hs_descriptor.c')
-rw-r--r-- | src/feature/hs/hs_descriptor.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/feature/hs/hs_descriptor.c b/src/feature/hs/hs_descriptor.c index 7f28e1c341..c274ed7581 100644 --- a/src/feature/hs/hs_descriptor.c +++ b/src/feature/hs/hs_descriptor.c @@ -1018,12 +1018,6 @@ desc_encode_v3(const hs_descriptor_t *desc, tor_assert(encoded_out); tor_assert(desc->plaintext_data.version == 3); - /* This is impossible; this is a member of desc. - if (BUG(desc->subcredential == NULL)) { - goto err; - } - */ - /* Build the non-encrypted values. */ { char *encoded_cert; |