aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_util_format.c
AgeCommit message (Collapse)Author
2016-12-23Fix unreachable heap corruption in base64_decode()Hans Jerry Illikainen
Give size_mul_check() external linkage and use it in base64_decode() to avoid a potential integer wrap. Closes #19222
2016-11-03Use tor_htonll in test_util_format_unaligned_accessorsovercaffeinated
Remove the inline htonll, switch to tor_htonll for test_util_format_unaligned_accessors.
2016-07-17Merge branch 'maint-0.2.8'Nick Mathewson
2016-07-17Fix warnings in test_util_formats.Nick Mathewson
Storing 255 into a char gives a warning when char is signed. Fixes bug 19682; bugfix on 0.2.8.1-alpha, where these tests were added.
2016-06-20Fix unit test crash on 32-bit.Nick Mathewson
2016-06-20Merge branch 'bug14013_029_01_squashed'Nick Mathewson
2016-06-20Make base16_decodes return number of decoded bytesnikkolasg
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-18Keep make check-spaces happyAndrea Shepard
2016-06-17test: Add base32_encode/decode unit testsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2016-02-27Update the copyright year.Nick Mathewson
2016-01-03Explicitly test our get/set_uint{8,16,32,64}.Nick Mathewson
2015-10-06Merge remote-tracking branch 'twstrike/util_format_tests'Nick Mathewson
Conflicts: src/test/test_util_format.c
2015-10-03Fix spaces warningsOla Bini
2015-10-03Actually test success cases as wellOla Bini
2015-10-02Give test_util_format some succeeding test casesNick Mathewson
2015-10-02Add notes and whitespace fixes to test_util_formatNick Mathewson
2015-09-15Add tests for util_formatOla Bini