[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] relay: Set some output arguments in stubs



commit f9fef2633f48e4fd4f5925ddb454dafb574baf7c
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Fri Mar 20 17:10:14 2020 +1000

    relay: Set some output arguments in stubs
    
    Fixes part of bug 33674; not in any released version of tor.
---
 src/feature/relay/routerkeys.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/feature/relay/routerkeys.h b/src/feature/relay/routerkeys.h
index 2b5f03a2a..1fb5d724e 100644
--- a/src/feature/relay/routerkeys.h
+++ b/src/feature/relay/routerkeys.h
@@ -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;
 }



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits