artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c492f82
)
remove unused variable
author
chl
<chl@openbsd.org>
Sat, 17 May 2014 20:31:07 +0000
(20:31 +0000)
committer
chl
<chl@openbsd.org>
Sat, 17 May 2014 20:31:07 +0000
(20:31 +0000)
ok tedu@
usr.sbin/pppd/chap.c
patch
|
blob
|
history
diff --git
a/usr.sbin/pppd/chap.c
b/usr.sbin/pppd/chap.c
index
649defb
..
4f53aa7
100644
(file)
--- a/
usr.sbin/pppd/chap.c
+++ b/
usr.sbin/pppd/chap.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: chap.c,v 1.1
6 2014/01/21 23:54:50 deraadt Exp $
*/
+/* $OpenBSD: chap.c,v 1.1
7 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 */