$NetBSD: patch-be,v 1.1.1.1 1999/10/08 04:34:43 dbj Exp $ --- pppd/ccp.h Fri Nov 6 22:58:11 1998 +++ pppd/ccp.h Tue Jun 22 15:27:31 1999 @@ -34,6 +34,10 @@ bool predictor_2; /* do Predictor-2? */ bool deflate_correct; /* use correct code for deflate? */ bool deflate_draft; /* use draft RFC code for deflate? */ + bool mppe; /* do M$ encryption? */ + bool mppe_40; /* allow 40 bit encryption */ + bool mppe_128; /* allow 128 bit encryption */ + bool mppe_stateless; /* allow stateless encryption */ u_short bsd_bits; /* # bits/code for BSD Compress */ u_short deflate_size; /* lg(window size) for Deflate */ short method; /* code for chosen compression method */ @@ -46,3 +50,8 @@ extern ccp_options ccp_hisoptions[]; extern struct protent ccp_protent; + +#ifdef MPPE +size_t mppe_generate_session_key(char *optbuf); +#endif +