diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-05-08 13:08:13 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-05-08 13:08:13 -0400 |
commit | 5bb617236704be189e68c713d95dac002912a219 (patch) | |
tree | 6c5d43112ff79f140036182fede4ee3070ab13b3 /src/test/test_extorport.c | |
parent | 1f11be21700af2c9050ea79f2c8942786eda79ba (diff) | |
download | tor-5bb617236704be189e68c713d95dac002912a219.tar.gz tor-5bb617236704be189e68c713d95dac002912a219.zip |
Fix numerous type errors in the unit tests
Remove tinytest casts that were suppressing them.
Fix for #11825.
Diffstat (limited to 'src/test/test_extorport.c')
-rw-r--r-- | src/test/test_extorport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_extorport.c b/src/test/test_extorport.c index d47792fdbb..64ed24eeeb 100644 --- a/src/test/test_extorport.c +++ b/src/test/test_extorport.c @@ -338,7 +338,7 @@ test_ext_or_cookie_auth_testvec(void *arg) handle_client_auth_nonce(client_nonce, 32, &client_hash, &reply, &reply_len)); tt_ptr_op(reply, !=, NULL ); - tt_ptr_op(reply_len, ==, 64); + tt_uint_op(reply_len, ==, 64); test_memeq(reply+32, "te road There is always another ", 32); /* HMACSHA256("Gliding wrapt in a brown mantle," * "ExtORPort authentication server-to-client hash" |