summaryrefslogtreecommitdiffhomepage
path: root/cli-agentfwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2011-12-04 05:27:57 +0800
committerMatt Johnston <matt@ucc.asn.au>2011-12-04 05:27:57 +0800
commit52a466b8afa32a1355dcbc90936eedcf5d740b1d (patch)
treedbb81ae2fc1171b5eef66b2f0b60ba3f0676373e /cli-agentfwd.c
parentbaa32218b0df8bd342da9bfe04f7ae678f2664ff (diff)
- Remove unused variable/code
Diffstat (limited to 'cli-agentfwd.c')
-rw-r--r--cli-agentfwd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli-agentfwd.c b/cli-agentfwd.c
index c9ce833..a821305 100644
--- a/cli-agentfwd.c
+++ b/cli-agentfwd.c
@@ -260,7 +260,7 @@ void agent_buf_sign(buffer *sigblob, sign_key *key,
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 @@ void agent_buf_sign(buffer *sigblob, sign_key *key,
*/
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);