diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-03-17 11:45:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-03-17 11:45:16 -0400 |
commit | 5f4e14b8c8cd4c8907f669144a5a4bb8b8b7a585 (patch) | |
tree | e145f4cebaf39aa772da8d8f81aa3540fb44cfcb /src/feature/hs/hs_client.c | |
parent | c22696e3606f9873ddbf02b11dc91214853b8317 (diff) | |
parent | 089e57d22f7c5e755a2d88d0b102207f7207ee27 (diff) | |
download | tor-5f4e14b8c8cd4c8907f669144a5a4bb8b8b7a585.tar.gz tor-5f4e14b8c8cd4c8907f669144a5a4bb8b8b7a585.zip |
Merge branch 'maint-0.3.5' into maint-0.4.1
Diffstat (limited to 'src/feature/hs/hs_client.c')
-rw-r--r-- | src/feature/hs/hs_client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/feature/hs/hs_client.c b/src/feature/hs/hs_client.c index 492e77faff..9d67f71275 100644 --- a/src/feature/hs/hs_client.c +++ b/src/feature/hs/hs_client.c @@ -1274,7 +1274,7 @@ hs_client_decode_descriptor(const char *desc_str, uint8_t subcredential[DIGEST256_LEN]; 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); @@ -1283,7 +1283,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 */ @@ -1296,7 +1296,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 < 0) { goto err; |