summaryrefslogtreecommitdiff
path: root/src/or/hs_ident.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-07-24 13:45:01 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-07-25 13:11:40 -0400
commit2b9575a9c0ecf6e3880654be16d103326788cecf (patch)
tree3eaedadcf24e358e9420111effc4648464f8e807 /src/or/hs_ident.c
parent3e537c6fe4b10b72079524829e13de65f3400c2b (diff)
downloadtor-2b9575a9c0ecf6e3880654be16d103326788cecf.tar.gz
tor-2b9575a9c0ecf6e3880654be16d103326788cecf.zip
prop224: Update hs identifier circuit
Remove the legacy intro point key because both service and client only uses the ed25519 key even though the intro point chosen is a legacy one. This also adds the CLIENT_PK key that is needed for the ntor handshake. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_ident.c')
-rw-r--r--src/or/hs_ident.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/hs_ident.c b/src/or/hs_ident.c
index 5b5dc9aaff..c3f789db56 100644
--- a/src/or/hs_ident.c
+++ b/src/or/hs_ident.c
@@ -30,9 +30,6 @@ hs_ident_circuit_free(hs_ident_circuit_t *ident)
if (ident == NULL) {
return;
}
- if (ident->auth_key_type == HS_AUTH_KEY_TYPE_LEGACY) {
- crypto_pk_free(ident->auth_rsa_pk);
- }
memwipe(ident, 0, sizeof(hs_ident_circuit_t));
tor_free(ident);
}