summaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_client.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-03-17 11:47:35 -0400
committerNick Mathewson <nickm@torproject.org>2020-03-17 11:47:35 -0400
commit270fe01557cd6f0ca3a795e4801de82a46d87e89 (patch)
tree4d39943f8aac2fffbe89ffce49ea3e2642c1a6d4 /src/feature/hs/hs_client.c
parent44f92e8e4278403b9e633668f8be70f197b6e8db (diff)
parentbbc80ea042a124a5935bd4264677180efdcb2da2 (diff)
downloadtor-270fe01557cd6f0ca3a795e4801de82a46d87e89.tar.gz
tor-270fe01557cd6f0ca3a795e4801de82a46d87e89.zip
Merge branch 'maint-0.4.3'
Diffstat (limited to 'src/feature/hs/hs_client.c')
-rw-r--r--src/feature/hs/hs_client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/feature/hs/hs_client.c b/src/feature/hs/hs_client.c
index d5c1c5ca9a..cc1b01d2ef 100644
--- a/src/feature/hs/hs_client.c
+++ b/src/feature/hs/hs_client.c
@@ -1848,7 +1848,7 @@ hs_client_decode_descriptor(const char *desc_str,
hs_subcredential_t subcredential;
ed25519_public_key_t blinded_pubkey;
hs_client_service_authorization_t *client_auth = NULL;
- curve25519_secret_key_t *client_auht_sk = NULL;
+ curve25519_secret_key_t *client_auth_sk = NULL;
tor_assert(desc_str);
tor_assert(service_identity_pk);
@@ -1857,7 +1857,7 @@ hs_client_decode_descriptor(const char *desc_str,
/* Check if we have a client authorization for this service in the map. */
client_auth = find_client_auth(service_identity_pk);
if (client_auth) {
- client_auht_sk = &client_auth->enc_seckey;
+ client_auth_sk = &client_auth->enc_seckey;
}
/* Create subcredential for this HS so that we can decrypt */
@@ -1870,7 +1870,7 @@ hs_client_decode_descriptor(const char *desc_str,
/* Parse descriptor */
ret = hs_desc_decode_descriptor(desc_str, &subcredential,
- client_auht_sk, desc);
+ client_auth_sk, desc);
memwipe(&subcredential, 0, sizeof(subcredential));
if (ret != HS_DESC_DECODE_OK) {
goto err;