[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [trunnel/master] Unit test to detect error fixed in 72da63f338088138
commit 4a969e74adb1b818b5b4293241300c2bffe8fd57
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Mon Jul 11 16:35:44 2016 -0400
Unit test to detect error fixed in 72da63f338088138
---
test/c/test_vararray.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/c/test_vararray.c b/test/c/test_vararray.c
index 7c65795..f99ed43 100644
--- a/test/c/test_vararray.c
+++ b/test/c/test_vararray.c
@@ -281,6 +281,7 @@ test_varlen_encdec(void *arg)
out->len2 = 1;
out->len3 = 1;
out->len4 = 1;
+ tt_int_op(0, ==, varlen_setlen_a8(out, 0)); /* <= 1.4.4 had a bug here. */
varlen_setstr_str(out, "Y");
varlen_add_a8(out, 0);
varlen_add_a16(out, 0);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits