aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs_descriptor.c
diff options
context:
space:
mode:
authorSuphanat Chunhapanya <haxx.pop@gmail.com>2018-05-22 00:01:52 +0700
committerDavid Goulet <dgoulet@torproject.org>2018-09-07 14:03:07 -0400
commit9f975e99953fa57a7c1f43ebd22cc9e602037b6d (patch)
treef027aa2e76b63e3f25f2088e25d6c849ff931a59 /src/test/test_hs_descriptor.c
parentb61403c7870b9ee289fe61e2f2349a8d49a8d37a (diff)
downloadtor-9f975e99953fa57a7c1f43ebd22cc9e602037b6d.tar.gz
tor-9f975e99953fa57a7c1f43ebd22cc9e602037b6d.zip
hs-v3: Rename client_sk to client_auth_sk
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_hs_descriptor.c')
-rw-r--r--src/test/test_hs_descriptor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_hs_descriptor.c b/src/test/test_hs_descriptor.c
index 2a2e3a5271..50a073b41c 100644
--- a/src/test/test_hs_descriptor.c
+++ b/src/test/test_hs_descriptor.c
@@ -867,7 +867,7 @@ test_build_authorized_client(void *arg)
hs_desc_authorized_client_t *desc_client = NULL;
uint8_t descriptor_cookie[HS_DESC_DESCRIPTOR_COOKIE_LEN];
curve25519_secret_key_t auth_ephemeral_sk;
- curve25519_secret_key_t client_sk;
+ curve25519_secret_key_t client_auth_sk;
curve25519_public_key_t client_pk;
const char ephemeral_sk_b16[] =
"d023b674d993a5c8446bd2ca97e9961149b3c0e88c7dc14e8777744dd3468d6a";
@@ -882,9 +882,9 @@ test_build_authorized_client(void *arg)
ret = curve25519_secret_key_generate(&auth_ephemeral_sk, 0);
tt_int_op(ret, OP_EQ, 0);
- ret = curve25519_secret_key_generate(&client_sk, 0);
+ ret = curve25519_secret_key_generate(&client_auth_sk, 0);
tt_int_op(ret, OP_EQ, 0);
- curve25519_public_key_generate(&client_pk, &client_sk);
+ curve25519_public_key_generate(&client_pk, &client_auth_sk);
desc_client = tor_malloc_zero(sizeof(hs_desc_authorized_client_t));