diff options
author | brian <brian@FreeBSD.org> | 1997-09-25 00:52:37 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-09-25 00:52:37 +0000 |
commit | 4c4910184f1f2da40f3c2c67f88b7104873af74f (patch) | |
tree | 37ef470f53f5dcf8862dea9118e58a470a1d431e /usr.sbin/ppp/vars.h | |
parent | 92277fa474d464011e3bfb7177f8a1c51d582404 (diff) | |
download | FreeBSD-src-4c4910184f1f2da40f3c2c67f88b7104873af74f.zip FreeBSD-src-4c4910184f1f2da40f3c2c67f88b7104873af74f.tar.gz |
Allow Microsoft CHAP authentication.
This is a combination of MD4 & DES.
Submitted by: Gabor Kincses <gabor@acm.org>
Diffstat (limited to 'usr.sbin/ppp/vars.h')
-rw-r--r-- | usr.sbin/ppp/vars.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/ppp/vars.h b/usr.sbin/ppp/vars.h index 6c8ffb3..84040bb 100644 --- a/usr.sbin/ppp/vars.h +++ b/usr.sbin/ppp/vars.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: vars.h,v 1.27 1997/09/17 23:17:57 brian Exp $ + * $Id: vars.h,v 1.28 1997/09/22 23:59:16 brian Exp $ * * TODO: */ @@ -85,7 +85,9 @@ struct pppvars { char login_script[200]; /* Login script */ char auth_key[50]; /* PAP/CHAP key */ char auth_name[50]; /* PAP/CHAP system name */ - int enc_MD4; /* Use MD4 for CHAP encryption */ +#ifdef HAVE_DES + int use_MSChap; /* Use MSCHAP encryption */ +#endif char phone_numbers[200]; /* Telephone Numbers */ char phone_copy[200]; /* copy for strsep() */ char *next_phone; /* Next phone from the list */ @@ -113,11 +115,13 @@ struct pppvars { #define VarRetryTimeout pppVars.retry_timeout #define VarAuthKey pppVars.auth_key #define VarAuthName pppVars.auth_name -#define VarEncMD4 pppVars.enc_MD4 +#ifdef HAVE_DES +#define VarMSChap pppVars.use_MSChap +#endif #define VarPhoneList pppVars.phone_numbers #define VarPhoneCopy pppVars.phone_copy #define VarNextPhone pppVars.next_phone -#define VarAltPhone pppVars.alt_phone +#define VarAltPhone pppVars.alt_phone #define VarShortHost pppVars.shostname #define VarReconnectTimer pppVars.reconnect_timer #define VarReconnectTries pppVars.reconnect_tries |