summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chap.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/chap.h')
-rw-r--r--usr.sbin/ppp/chap.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/ppp/chap.h b/usr.sbin/ppp/chap.h
index 46fe5f9..fe12dae 100644
--- a/usr.sbin/ppp/chap.h
+++ b/usr.sbin/ppp/chap.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: chap.h,v 1.13 1999/02/18 00:52:12 brian Exp $
+ * $Id: chap.h,v 1.14 1999/02/18 19:45:06 brian Exp $
*
* TODO:
*/
@@ -39,7 +39,10 @@ struct chap {
} buf;
} child;
struct authinfo auth;
- u_char challenge[CHAPCHALLENGELEN + AUTHLEN];
+ struct {
+ u_char local[CHAPCHALLENGELEN + AUTHLEN]; /* I invented this one */
+ u_char peer[CHAPCHALLENGELEN + AUTHLEN]; /* Peer gave us this one */
+ } challenge;
#ifdef HAVE_DES
unsigned NTRespSent : 1; /* Our last response */
int peertries;
OpenPOWER on IntegriCloud