Remove the return value from the fascist_firewall_choose_address_* family of functions

This commit is contained in:
Neel Chauhan
2018-04-27 19:14:59 +00:00
committed by Nick Mathewson
parent ddb2b965de
commit 5458ff20a5
6 changed files with 63 additions and 82 deletions
+6
View File
@@ -0,0 +1,6 @@
o Code simplification and refactoring:
- Remove the return value for fascist_firewall_choose_address_base(),
and sister functions such as fascist_firewall_choose_address_node()
and fascist_firewall_choose_address_rs(). Also, while we're here,
initialize the ap argument as leaving it uninitialized can pose a
security hazard. Closes ticket 24734. Patch by Neel Chauhan.