relay: Set some output arguments in stubs

Fixes part of bug 33674; not in any released version of tor.
This commit is contained in:
teor 2020-03-20 17:10:14 +10:00
parent 89bd58837c
commit f9fef2633f
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A

View File

@ -95,7 +95,7 @@ make_ntor_onion_key_crosscert(const curve25519_keypair_t *onion_key,
(void)master_id_key;
(void)now;
(void)lifetime;
(void)sign_out;
*sign_out = 0;
tor_assert_nonfatal_unreached();
return NULL;
}
@ -108,7 +108,7 @@ make_tap_onion_key_crosscert(const crypto_pk_t *onion_key,
(void)onion_key;
(void)master_id_key;
(void)rsa_id_key;
(void)len_out;
*len_out = 0;
tor_assert_nonfatal_unreached();
return NULL;
}