diff options
author | Roger Dingledine <arma@torproject.org> | 2016-03-07 19:29:05 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2016-03-11 10:49:57 -0500 |
commit | edeba3d472e303a9a3263582d1e4c0fbcb5a28b8 (patch) | |
tree | 7fc0743c3ca4f8da4c1c07a6a32f432ec235f5bf /src/test/test_dir_handle_get.c | |
parent | dc500c8cb4dc7643230d160d1b458a0acdadd242 (diff) | |
download | tor-edeba3d472e303a9a3263582d1e4c0fbcb5a28b8.tar.gz tor-edeba3d472e303a9a3263582d1e4c0fbcb5a28b8.zip |
simplify rend_cache_store_status_t back to a boolean
it used to be a tri-state, but now it's just a bi-state, so we can
take out all the machinery like the enum.
Diffstat (limited to 'src/test/test_dir_handle_get.c')
-rw-r--r-- | src/test/test_dir_handle_get.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c index c75b2b6632..d74aeb6110 100644 --- a/src/test/test_dir_handle_get.c +++ b/src/test/test_dir_handle_get.c @@ -427,7 +427,7 @@ test_dir_handle_get_rendezvous2_on_encrypted_conn_success(void *data) generate_desc(RECENT_TIME, &desc_holder, &service_id, 3); tt_int_op(rend_cache_store_v2_desc_as_dir(desc_holder->desc_str), - OP_EQ, RCS_OKAY); + OP_EQ, 0); base32_encode(desc_id_base32, sizeof(desc_id_base32), desc_holder->desc_id, DIGEST_LEN); |