summaryrefslogtreecommitdiff
path: root/src/test/test.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-07 09:51:08 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-07 09:51:08 -0400
commit1e54bdd48a5deec7c1c4a0a167fb5abe312c8458 (patch)
tree5583af72976a2e70608974ba374345d4994bc38f /src/test/test.h
parent2c86380bdec15272652607025a6fb46eb54aeef8 (diff)
downloadtor-1e54bdd48a5deec7c1c4a0a167fb5abe312c8458.tar.gz
tor-1e54bdd48a5deec7c1c4a0a167fb5abe312c8458.zip
Make the warnings about terminating nuls a bit stronger
It looks like 32_encoded_size/64_encode_size APIs are inconsistent not only in the number of "d"s they have, but also in whether they count the terminating NUL. Taylor noted this in 86477f4e3fedb316, but I think we should note the inconsistently more loudly in order to avoid trouble. (I ran into trouble with this when writing 30b13fd82e243713c6a0d.)
Diffstat (limited to 'src/test/test.h')
0 files changed, 0 insertions, 0 deletions