summaryrefslogtreecommitdiff
path: root/src/or/hs_ident.c
diff options
context:
space:
mode:
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);
}