summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/auth.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-02-02 09:35:17 +0000
committerbrian <brian@FreeBSD.org>1999-02-02 09:35:17 +0000
commit61788f8e53914697da6084d3426078b1fd4e5832 (patch)
tree70917d64158e89114e49b498431dac6ddd482335 /usr.sbin/ppp/auth.h
parent854609d8d95c79b7da9960c91e5faab6f823b63b (diff)
downloadFreeBSD-src-61788f8e53914697da6084d3426078b1fd4e5832.zip
FreeBSD-src-61788f8e53914697da6084d3426078b1fd4e5832.tar.gz
Reimplement the previous fix (no response to PAP requests)
at the authentication layer rather than at the PAP layer so that it also applies to CHAP (no response to CHAP challenges).
Diffstat (limited to 'usr.sbin/ppp/auth.h')
-rw-r--r--usr.sbin/ppp/auth.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ppp/auth.h b/usr.sbin/ppp/auth.h
index 7ac577d..cf4bb3e 100644
--- a/usr.sbin/ppp/auth.h
+++ b/usr.sbin/ppp/auth.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: auth.h,v 1.12 1998/08/07 18:42:47 brian Exp $
+ * $Id: auth.h,v 1.13 1999/02/01 13:42:24 brian Exp $
*
* TODO:
*/
@@ -25,7 +25,6 @@ struct bundle;
struct authinfo {
void (*ChallengeFunc)(struct authinfo *, int, struct physical *);
- void (*FailedFunc)(struct physical *);
struct pppTimer authtimer;
int retry;
int id;
@@ -41,8 +40,7 @@ extern void auth_Init(struct authinfo *);
extern void auth_StopTimer(struct authinfo *);
extern void auth_StartChallenge(struct authinfo *, struct physical *,
void (*)(struct authinfo *, int,
- struct physical *),
- void (*)(struct physical *));
+ struct physical *));
extern int auth_Validate(struct bundle *, const char *, const char *,
struct physical *);
extern char *auth_GetSecret(struct bundle *, const char *, int,
OpenPOWER on IntegriCloud