summaryrefslogtreecommitdiff
path: root/sbin/iked/eap.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2012-12-15 23:20:18 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2012-12-15 23:20:18 +0000
commite8874660f92975269661b4815bda198fd90d2f13 (patch)
tree4968305170fe35bad265b99101041674089137b2 /sbin/iked/eap.c
parent51cece4c7babb0f96d9e840fe3ee11e378dff206 (diff)
Remove unused variables.
Diffstat (limited to 'sbin/iked/eap.c')
-rw-r--r--sbin/iked/eap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/iked/eap.c b/sbin/iked/eap.c
index dec066a0740..00a8b12081b 100644
--- a/sbin/iked/eap.c
+++ b/sbin/iked/eap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eap.c,v 1.6 2012/09/18 12:07:59 reyk Exp $ */
+/* $OpenBSD: eap.c,v 1.7 2012/12/15 23:20:17 reyk Exp $ */
/* $vantronix: eap.c,v 1.12 2010/05/31 11:30:08 reyk Exp $ */
/*
@@ -93,7 +93,6 @@ eap_challenge_request(struct iked *env, struct iked_sa *sa,
{
struct eap_message *eap;
struct eap_mschap_challenge *ms;
- ssize_t len = 0;
const char *name;
int ret = -1;
struct ibuf *e;
@@ -122,7 +121,6 @@ eap_challenge_request(struct iked *env, struct iked_sa *sa,
arc4random_buf(ms->msc_challenge, sizeof(ms->msc_challenge));
if (ibuf_add(e, name, strlen(name)) == -1)
goto done;
- len = betoh16(eap->eap_length);
/* Store the EAP challenge value */
sa->sa_eap.id_type = eap->eap_type;