aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/dirserv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 6ce6a461e1..d9a5decd6e 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -2609,11 +2609,6 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_env_t *private_key,
voter->nickname = tor_strdup(options->Nickname);
memcpy(voter->identity_digest, identity_digest, DIGEST_LEN);
voter->sigs = smartlist_create();
- {
- document_signature_t *sig = tor_malloc_zero(sizeof(document_signature_t));
- memcpy(sig->identity_digest, identity_digest, DIGEST_LEN);
- memcpy(sig->signing_key_digest, signing_key_digest, DIGEST_LEN);
- }
voter->address = hostname;
voter->addr = addr;
voter->dir_port = options->DirPort;