summaryrefslogtreecommitdiff
path: root/src/test/test_dir.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-03-17 11:16:24 -0400
committerNick Mathewson <nickm@torproject.org>2017-03-17 11:16:24 -0400
commit58680d04299ab69ea99ee86c5f1a194f44fc1d12 (patch)
tree814c4ebcbd458585695ec1d3e66c7c78a93e77ff /src/test/test_dir.c
parent6657fe1e54743e90e33c453de154343fbf94bad4 (diff)
parent946ccf3e4de883b98aa62666b8a5bdc3eb535447 (diff)
downloadtor-58680d04299ab69ea99ee86c5f1a194f44fc1d12.tar.gz
tor-58680d04299ab69ea99ee86c5f1a194f44fc1d12.zip
Merge branch 'ahf_bugs_21641_squashed'
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r--src/test/test_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 2bc327a2dd..e0c92a74c5 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -329,7 +329,7 @@ test_dir_formats(void *arg)
ntor_cc = make_ntor_onion_key_crosscert(&r2_onion_keypair,
&kp1.pubkey,
r2->cache_info.published_on,
- MIN_ONION_KEY_LIFETIME,
+ get_onion_key_lifetime(),
&ntor_cc_sign);
tt_assert(ntor_cc);
base64_encode(cert_buf, sizeof(cert_buf),