diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-11-25 10:42:00 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-11-25 22:29:59 -0500 |
commit | ddcbe264745a0c10d80d8ad74125d23eb251662d (patch) | |
tree | b522f4302d71982a38ad0caf34b77b6c675103c2 /src/test/test_extorport.c | |
parent | 10fdee628552bca65ddb86b17e0b057628ad3703 (diff) | |
download | tor-ddcbe264745a0c10d80d8ad74125d23eb251662d.tar.gz tor-ddcbe264745a0c10d80d8ad74125d23eb251662d.zip |
Now that crypto_rand() cannot fail, it should return void.
Diffstat (limited to 'src/test/test_extorport.c')
-rw-r--r-- | src/test/test_extorport.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/test_extorport.c b/src/test/test_extorport.c index 2e5a32eef3..5d38ed8fa2 100644 --- a/src/test/test_extorport.c +++ b/src/test/test_extorport.c @@ -309,15 +309,14 @@ test_ext_or_cookie_auth(void *arg) tor_free(client_hash2); } -static int +static void crypto_rand_return_tse_str(char *to, size_t n) { if (n != 32) { TT_FAIL(("Asked for %d bytes, not 32", (int)n)); - return -1; + return; } memcpy(to, "te road There is always another ", 32); - return 0; } static void |