diff options
author | brian <brian@FreeBSD.org> | 2000-11-07 23:19:11 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-11-07 23:19:11 +0000 |
commit | 34d0ad4986a2d93f4c82f3a76e6f76f284c9e7a4 (patch) | |
tree | c6235cde408dda01abf7c7817f6b472e631061ab /usr.sbin/ppp/mppe.h | |
parent | 3e6dc67f1fc629ceacdf110524b175b0910a7093 (diff) | |
download | FreeBSD-src-34d0ad4986a2d93f4c82f3a76e6f76f284c9e7a4.zip FreeBSD-src-34d0ad4986a2d93f4c82f3a76e6f76f284c9e7a4.tar.gz |
Introduce another global (MPPE_IsServer) so that we initiate the
MPPE session keys correctly.
I'm a bit dubious about this code. It seems that the session keys
are initialised differently based on whether you're the client or
the server. One side is the server if it issues the first challenge,
but of course you can issue a challenge from both sides.... at the
same time. Sounds like another wonderful M$ assumption...
Ppp can now talk to itself correctly using encryption.
Problem solved by: Ustimenko Semen <semen@iclub.nsu.ru>
Hair torn out by: me
Diffstat (limited to 'usr.sbin/ppp/mppe.h')
-rw-r--r-- | usr.sbin/ppp/mppe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/mppe.h b/usr.sbin/ppp/mppe.h index ee54cdb..c70a609 100644 --- a/usr.sbin/ppp/mppe.h +++ b/usr.sbin/ppp/mppe.h @@ -29,4 +29,5 @@ #define MPPE_KEY_LEN 16 extern const struct ccp_algorithm MPPEAlgorithm; extern int MPPE_MasterKeyValid; +extern int MPPE_IsServer; extern char MPPE_MasterKey[]; |