diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-07-15 12:52:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-15 12:52:29 -0400 |
commit | 9fda7e8cd1bbc33479c667ea97a220333f81c148 (patch) | |
tree | f5e48339cf19cac8d7613049b6f934594f0e0fbb /src/test/test.c | |
parent | 18136afbbb4934c1104716a29a0efc68a8fd8f51 (diff) | |
download | tor-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.c')
0 files changed, 0 insertions, 0 deletions