mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Remove a dead BUG() check.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user