tor/src/or
nikkolasg 568dc27a19 Make base16_decodes return number of decoded bytes
base16_decodes() now returns the number of decoded bytes. It's interface
changes from returning a "int" to a "ssize_t". Every callsite now checks the
returned value.

Fixes #14013

Signed-off-by: David Goulet <dgoulet@torproject.org>
2016-06-20 08:44:58 -04:00
..
addressmap.c Update the copyright year. 2016-02-27 18:48:19 +01:00
addressmap.h Update the copyright year. 2016-02-27 18:48:19 +01:00
buffers.c Replace nearly all XXX0vv comments with smarter ones 2016-05-30 16:18:16 -04:00
buffers.h Update the copyright year. 2016-02-27 18:48:19 +01:00
channel.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
channel.h Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
channeltls.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
channeltls.h Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
circpathbias.c Replace nearly all XXX0vv comments with smarter ones 2016-05-30 16:18:16 -04:00
circpathbias.h Update the copyright year. 2016-02-27 18:48:19 +01:00
circuitbuild.c Replace nearly all XXX0vv comments with smarter ones 2016-05-30 16:18:16 -04:00
circuitbuild.h Merge remote-tracking branch 'teor/bug8976_01_028' 2016-03-11 11:11:38 -05:00
circuitlist.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
circuitlist.h Fix memory leak in TestingEnableCellStatsEvent 2016-03-28 11:12:15 -04:00
circuitmux_ewma.c Update the copyright year. 2016-02-27 18:48:19 +01:00
circuitmux_ewma.h Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
circuitmux.c Add the -Wextra-semi warning from clang, and fix the cases where it triggers 2016-06-11 10:11:54 -04:00
circuitmux.h Update the copyright year. 2016-02-27 18:48:19 +01:00
circuitstats.c Update the copyright year. 2016-02-27 18:48:19 +01:00
circuitstats.h Update the copyright year. 2016-02-27 18:48:19 +01:00
circuituse.c Make base16_decodes return number of decoded bytes 2016-06-20 08:44:58 -04:00
circuituse.h Update the copyright year. 2016-02-27 18:48:19 +01:00
command.c Update the copyright year. 2016-02-27 18:48:19 +01:00
command.h Update the copyright year. 2016-02-27 18:48:19 +01:00
config.c Make base16_decodes return number of decoded bytes 2016-06-20 08:44:58 -04:00
config.h Replace nearly all XXX0vv comments with smarter ones 2016-05-30 16:18:16 -04:00
confparse.c Add -Wfloat-conversion for GCC >= 4.9 2016-06-11 10:11:52 -04:00
confparse.h Update the copyright year. 2016-02-27 18:48:19 +01:00
connection_edge.c Reduce make check-spaces noise 2016-06-09 11:50:25 +00:00
connection_edge.h Update the copyright year. 2016-02-27 18:48:19 +01:00
connection_or.c Replace nearly all XXX0vv comments with smarter ones 2016-05-30 16:18:16 -04:00
connection_or.h Do not treat "DOCDOC" as doxygen. 2016-03-26 10:11:45 -04:00
connection.c Merge branch 'bug19180_easy_squashed' 2016-06-11 10:15:40 -04:00
connection.h remove some more unused code 2016-05-09 14:42:09 -04:00
control.c Make base16_decodes return number of decoded bytes 2016-06-20 08:44:58 -04:00
control.h Merge branch 'feature15588_squashed' 2016-05-09 14:41:36 -04:00
cpuworker.c Update the copyright year. 2016-02-27 18:48:19 +01:00
cpuworker.h Update the copyright year. 2016-02-27 18:48:19 +01:00
dircollate.c Add the -Wextra-semi warning from clang, and fix the cases where it triggers 2016-06-11 10:11:54 -04:00
dircollate.h Merge branch 'maint-0.2.7' 2016-03-21 13:26:04 -04:00
directory.c Make base16_decodes return number of decoded bytes 2016-06-20 08:44:58 -04:00
directory.h avoid another redundant check 2016-05-09 14:41:54 -04:00
dirserv.c Make base16_decodes return number of decoded bytes 2016-06-20 08:44:58 -04:00
dirserv.h We no longer generate v0 directories. Remove the code to do so 2016-05-30 16:05:37 -04:00
dirvote.c Replace nearly all XXX0vv comments with smarter ones 2016-05-30 16:18:16 -04:00
dirvote.h Merge branch 'maint-0.2.7' 2016-03-21 13:26:04 -04:00
dns_structs.h Unit test dns_resolve(), dns_clip_ttl(), dns_get_expiry_ttl(). 2015-08-23 16:02:39 +03:00
dns.c Update the copyright year. 2016-02-27 18:48:19 +01:00
dns.h Update the copyright year. 2016-02-27 18:48:19 +01:00
dnsserv.c Merge branch 'maint-0.2.8' 2016-05-04 14:47:13 -04:00
dnsserv.h Update the copyright year. 2016-02-27 18:48:19 +01:00
entrynodes.c Make base16_decodes return number of decoded bytes 2016-06-20 08:44:58 -04:00
entrynodes.h Always allow OR connections to bridges on private addresses 2016-03-24 10:13:58 -04:00
eventdns_tor.h Update the copyright year. 2016-02-27 18:48:19 +01:00
ext_orport.c Rename tor_dup_addr to tor_addr_to_str_dup. 2016-03-28 16:36:51 -04:00
ext_orport.h Update the copyright year. 2016-02-27 18:48:19 +01:00
fallback_dirs.inc April 2016 fallbacks for 0.2.8-rc 2016-04-26 19:26:22 -04:00
fp_pair.c Update the copyright year. 2016-02-27 18:48:19 +01:00
fp_pair.h Update the copyright year. 2016-02-27 18:48:19 +01:00
geoip.c Add the -Wextra-semi warning from clang, and fix the cases where it triggers 2016-06-11 10:11:54 -04:00
geoip.h Update the copyright year. 2016-02-27 18:48:19 +01:00
hibernate.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
hibernate.h Update the copyright year. 2016-02-27 18:48:19 +01:00
include.am Add -ftrapv to gcc-hardening ... mostly! 2016-05-12 11:21:28 -04:00
keypin.c Add the -Wextra-semi warning from clang, and fix the cases where it triggers 2016-06-11 10:11:54 -04:00
keypin.h Update the copyright year. 2016-02-27 18:48:19 +01:00
main.c Merge branch 'bug19180_easy_squashed' 2016-06-11 10:15:40 -04:00
main.h Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
Makefile.nmake Implement scheduler mechanism to track lists of channels wanting cells or writes; doesn't actually drive the cell flow from it yet 2014-09-30 22:48:24 -07:00
microdesc.c Merge branch 'bug19180_easy_squashed' 2016-06-11 10:15:40 -04:00
microdesc.h Add unit tests for networkstatus_consensus_is_bootstrapping 2016-05-19 07:58:41 -04:00
networkstatus.c Make base16_decodes return number of decoded bytes 2016-06-20 08:44:58 -04:00
networkstatus.h Merge branch 'maint-0.2.8' 2016-05-19 08:25:12 -04:00
nodelist.c Add the -Wextra-semi warning from clang, and fix the cases where it triggers 2016-06-11 10:11:54 -04:00
nodelist.h Update the copyright year. 2016-02-27 18:48:19 +01:00
ntmain.c Update the copyright year. 2016-02-27 18:48:19 +01:00
ntmain.h Update the copyright year. 2016-02-27 18:48:19 +01:00
onion_fast.c Update the copyright year. 2016-02-27 18:48:19 +01:00
onion_fast.h Update the copyright year. 2016-02-27 18:48:19 +01:00
onion_ntor.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
onion_ntor.h Update the copyright year. 2016-02-27 18:48:19 +01:00
onion_tap.c Update the copyright year. 2016-02-27 18:48:19 +01:00
onion_tap.h Update the copyright year. 2016-02-27 18:48:19 +01:00
onion.c Keep make check-spaces happy 2016-06-12 21:47:14 +00:00
onion.h Update the copyright year. 2016-02-27 18:48:19 +01:00
or.h Replace nearly all XXX0vv comments with smarter ones 2016-05-30 16:18:16 -04:00
periodic.c quiet debug logs from periodic_event_dispatch() 2016-04-05 23:13:55 -04:00
periodic.h Update the copyright year. 2016-02-27 18:48:19 +01:00
policies.c Add new tor_assert_nonfatal*() macros. 2016-04-14 16:24:28 -04:00
policies.h Update the copyright year. 2016-02-27 18:48:19 +01:00
reasons.c Update the copyright year. 2016-02-27 18:48:19 +01:00
reasons.h Update the copyright year. 2016-02-27 18:48:19 +01:00
relay.c Do not treat "DOCDOC" as doxygen. 2016-03-26 10:11:45 -04:00
relay.h Update the copyright year. 2016-02-27 18:48:19 +01:00
rendcache.c typo/comment/log fixes i found in my sandbox from montreal 2016-06-12 16:14:15 -04:00
rendcache.h Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
rendclient.c Perform cache lookup when FetchHidServDescriptors is set 2016-06-15 10:04:07 -04:00
rendclient.h Update the copyright year. 2016-02-27 18:48:19 +01:00
rendcommon.c Reduce make check-spaces noise 2016-06-09 11:50:25 +00:00
rendcommon.h Merge branch 'feature15588_squashed' 2016-05-09 14:41:36 -04:00
rendmid.c Stop being so strict about the payload length of "rendezvous1" cells 2016-05-09 20:34:27 -04:00
rendmid.h Update the copyright year. 2016-02-27 18:48:19 +01:00
rendservice.c Correctly close intro circuit when deleting ephemeral HS 2016-06-16 13:09:24 -04:00
rendservice.h Merge branch 'feature15588_squashed' 2016-05-09 14:41:36 -04:00
rephist.c Make base16_decodes return number of decoded bytes 2016-06-20 08:44:58 -04:00
rephist.h Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
replaycache.c Update the copyright year. 2016-02-27 18:48:19 +01:00
replaycache.h Update the copyright year. 2016-02-27 18:48:19 +01:00
router.c Merge branch 'bug19180_easy_squashed' 2016-06-11 10:15:40 -04:00
router.h touchups and refactorings on bug 18616 branch 2016-05-16 17:43:47 -04:00
routerkeys.c Merge branch 'bug18133_027' into maint-0.2.8 2016-04-01 08:17:56 -04:00
routerkeys.h Update the copyright year. 2016-02-27 18:48:19 +01:00
routerlist.c Make base16_decodes return number of decoded bytes 2016-06-20 08:44:58 -04:00
routerlist.h Reduce make check-spaces noise 2016-06-09 11:50:25 +00:00
routerparse.c Make base16_decodes return number of decoded bytes 2016-06-20 08:44:58 -04:00
routerparse.h Update the copyright year. 2016-02-27 18:48:19 +01:00
routerset.c Update the copyright year. 2016-02-27 18:48:19 +01:00
routerset.h Update the copyright year. 2016-02-27 18:48:19 +01:00
scheduler.c Update the copyright year. 2016-02-27 18:48:19 +01:00
scheduler.h Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
statefile.c Update the copyright year. 2016-02-27 18:48:19 +01:00
statefile.h Update the copyright year. 2016-02-27 18:48:19 +01:00
status.c Update the copyright year. 2016-02-27 18:48:19 +01:00
status.h Update the copyright year. 2016-02-27 18:48:19 +01:00
tor_main.c Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
torcert.c Fix all doxygen warnings (other than missing docs) 2016-03-26 09:53:12 -04:00
torcert.h Update the copyright year. 2016-02-27 18:48:19 +01:00
transports.c Replace nearly all XXX0vv comments with smarter ones 2016-05-30 16:18:16 -04:00
transports.h Update the copyright year. 2016-02-27 18:48:19 +01:00