summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2014-05-17 20:31:07 +0000
committerchl <chl@openbsd.org>2014-05-17 20:31:07 +0000
commit5a08938ee7a3ebba6da90ac520645b620fad3b4f (patch)
tree8b2c71dd4c41161dc765f9b8bfa09ff74f8640c7
parentdoes sunos not have memmove? sorry, i guess sunos will not have libressl. (diff)
downloadwireguard-openbsd-5a08938ee7a3ebba6da90ac520645b620fad3b4f.tar.xz
wireguard-openbsd-5a08938ee7a3ebba6da90ac520645b620fad3b4f.zip
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 */