summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/mppe.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-11-07 23:19:11 +0000
committerbrian <brian@FreeBSD.org>2000-11-07 23:19:11 +0000
commit34d0ad4986a2d93f4c82f3a76e6f76f284c9e7a4 (patch)
treec6235cde408dda01abf7c7817f6b472e631061ab /usr.sbin/ppp/mppe.h
parent3e6dc67f1fc629ceacdf110524b175b0910a7093 (diff)
downloadFreeBSD-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.h1
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[];
OpenPOWER on IntegriCloud