summaryrefslogtreecommitdiff
path: root/src/test/test_circuitlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-07-15 12:52:29 -0400
committerNick Mathewson <nickm@torproject.org>2013-07-15 12:52:29 -0400
commit9fda7e8cd1bbc33479c667ea97a220333f81c148 (patch)
treef5e48339cf19cac8d7613049b6f934594f0e0fbb /src/test/test_circuitlist.c
parent18136afbbb4934c1104716a29a0efc68a8fd8f51 (diff)
downloadtor-9fda7e8cd1bbc33479c667ea97a220333f81c148.tar.gz
tor-9fda7e8cd1bbc33479c667ea97a220333f81c148.zip
Lightly refactor and test format_hex_number_sigsafe
Better tests for upper bounds, and for failing cases. Also, change the function's interface to take a buffer length rather than a maximum length, and then NUL-terminate: functions that don't NUL-terminate are trouble waiting to happen.
Diffstat (limited to 'src/test/test_circuitlist.c')
0 files changed, 0 insertions, 0 deletions