aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs_cache.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-02-02 13:58:20 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2017-02-24 16:37:24 +0200
commit6d71eda263a6c97484c975073979a005a879cf79 (patch)
tree3a6fd2f7043124ccce58a83ccdaeb1156fbc5a7b /src/test/test_hs_cache.c
parentefa5bbaba07d20d1aacff7d1d2a5fe08a6ec2d72 (diff)
downloadtor-6d71eda263a6c97484c975073979a005a879cf79.tar.gz
tor-6d71eda263a6c97484c975073979a005a879cf79.zip
prop224: Rename auth_required HS desc field to intro_auth_required.
And remove "password" type from the list of intro auths.
Diffstat (limited to 'src/test/test_hs_cache.c')
-rw-r--r--src/test/test_hs_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_hs_cache.c b/src/test/test_hs_cache.c
index 1943d0ffac..64fc1c1e6e 100644
--- a/src/test/test_hs_cache.c
+++ b/src/test/test_hs_cache.c
@@ -93,8 +93,8 @@ helper_build_hs_desc(uint64_t revision_counter, uint32_t lifetime,
/* Setup encrypted data section. */
desc->encrypted_data.create2_ntor = 1;
- desc->encrypted_data.auth_types = smartlist_new();
- smartlist_add(desc->encrypted_data.auth_types, tor_strdup("ed25519"));
+ desc->encrypted_data.intro_auth_types = smartlist_new();
+ smartlist_add(desc->encrypted_data.intro_auth_types, tor_strdup("ed25519"));
desc->encrypted_data.intro_points = smartlist_new();
/* Add an intro point. */
smartlist_add(desc->encrypted_data.intro_points,