summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2014-05-17 20:31:08 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2014-05-17 20:31:08 +0000
commit2d5f6c5efcfbb3a01566028b1aedee520e40d20d (patch)
tree1b0779bd587f0ccac0d41f242073d9e7bf1adc8c
parent4447c131b9d7ebdab3e4eb6c089d8bb8a6047943 (diff)
remove unused variable
ok tedu@
-rw-r--r--usr.sbin/pppd/chap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/pppd/chap.c b/usr.sbin/pppd/chap.c
index 649defbad06..4f53aa70078 100644
--- a/usr.sbin/pppd/chap.c
+++ b/usr.sbin/pppd/chap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chap.c,v 1.16 2014/01/21 23:54:50 deraadt Exp $ */
+/* $OpenBSD: chap.c,v 1.17 2014/05/17 20:31:07 chl Exp $ */
/*
* chap.c - Challenge Handshake Authentication Protocol.
@@ -760,8 +760,6 @@ ChapGenChallenge(cstate)
chap_state *cstate;
{
int chal_len;
- u_char *ptr = cstate->challenge;
- unsigned int i;
/* pick a random challenge length >= MIN_CHALLENGE_LENGTH and
<= MAX_CHALLENGE_LENGTH */