Mercurial > dropbear
changeset 653:5e8d84f3ee72
- Remove unused variable/code
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 04 Dec 2011 05:27:57 +0800 |
parents | 17962b2a6b8f |
children | 818108bf7749 |
files | cli-agentfwd.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/cli-agentfwd.c Sun Dec 04 05:27:29 2011 +0800 +++ b/cli-agentfwd.c Sun Dec 04 05:27:57 2011 +0800 @@ -260,7 +260,7 @@ const unsigned char *data, unsigned int len) { buffer *request_data = NULL; buffer *response = NULL; - unsigned int keylen, siglen; + unsigned int siglen; int packet_type; /* Request format @@ -271,7 +271,6 @@ */ request_data = buf_new(MAX_PUBKEY_SIZE + len + 12); buf_put_pub_key(request_data, key, key->type); - keylen = request_data->len - 4; buf_putstring(request_data, data, len); buf_putint(request_data, 0);