Skip to content

Commit

Permalink
fixup! hs-v3: Decrypt the descriptor with client private key
Browse files Browse the repository at this point in the history
  • Loading branch information
dgoulet-tor committed Sep 5, 2018
1 parent 54d9da1 commit 1f98b67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/feature/hs/hs_descriptor.c
Expand Up @@ -2202,7 +2202,8 @@ desc_decode_superencrypted_v3(const hs_descriptor_t *desc,
tor_malloc_zero(sizeof(hs_desc_authorized_client_t));

if (decode_auth_client(token, client) < 0) {
log_warn(LD_REND, "Auth client is not valid");
log_warn(LD_REND, "Descriptor client authorization section can't "
"be decoded.");
tor_free(client);
goto err;
}
Expand Down

0 comments on commit 1f98b67

Please sign in to comment.