tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit bd0efb270219d02c75b8a6a1f7964cd986e2cdc6
parent 4532c7ef6aa96d502412cbc61da91369bc3eaa44
Author: Nick Mathewson <nickm@torproject.org>
Date:   Thu, 16 Jan 2020 18:28:25 -0500

Remove a dead BUG() check.

Diffstat:
Msrc/feature/hs/hs_descriptor.c | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git 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;