diff options
author | David Goulet <dgoulet@torproject.org> | 2016-09-14 15:05:48 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-11-04 10:32:50 -0400 |
commit | 1263f74a12abfb7f3e9b9627fd1d37cb125b8429 (patch) | |
tree | a20f4bc2ed24bb4b0f9d93a5220e42166c78cb9e /src/test/test_hs_cache.c | |
parent | 1517a8a2ebeb645669531b53bad52879d6da39d2 (diff) | |
download | tor-1263f74a12abfb7f3e9b9627fd1d37cb125b8429.tar.gz tor-1263f74a12abfb7f3e9b9627fd1d37cb125b8429.zip |
prop224: Rename cert type to follow naming convention
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_hs_cache.c')
-rw-r--r-- | src/test/test_hs_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_hs_cache.c b/src/test/test_hs_cache.c index 33887aedd9..f3776acb7c 100644 --- a/src/test/test_hs_cache.c +++ b/src/test/test_hs_cache.c @@ -48,7 +48,7 @@ helper_build_intro_point(const ed25519_keypair_t *blinded_kp, ret = ed25519_keypair_generate(&auth_kp, 0); tt_int_op(ret, ==, 0); - ip->auth_key_cert = tor_cert_create(blinded_kp, CERT_TYPE_HS_IP_AUTH, + ip->auth_key_cert = tor_cert_create(blinded_kp, CERT_TYPE_AUTH_HS_IP_KEY, &auth_kp.pubkey, time(NULL), HS_DESC_CERT_LIFETIME, CERT_FLAG_INCLUDE_SIGNING_KEY); @@ -83,7 +83,7 @@ helper_build_hs_desc(uint64_t revision_counter, uint32_t lifetime, desc->plaintext_data.signing_key_cert = tor_cert_create(&desc->plaintext_data.blinded_kp, - CERT_TYPE_HS_DESC_SIGN, + CERT_TYPE_SIGNING_HS_DESC, &desc->plaintext_data.signing_kp.pubkey, time(NULL), 3600, CERT_FLAG_INCLUDE_SIGNING_KEY); tt_assert(desc->plaintext_data.signing_key_cert); |