summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>2001-02-04 01:19:54 +0000
committerbrian <brian@cvs.openbsd.org>2001-02-04 01:19:54 +0000
commit9184c1b9fd679b7a20fba39f1d2c27c8d4344bba (patch)
tree5ff079b472d6b45c0a0957d731f43b64df00bbd0
parentd0a91153f021394d06c770eee6aa6e88cef1368f (diff)
MPPE_MasterKeyValid is only there if HAVE_DES is defined
-rw-r--r--usr.sbin/ppp/ppp/bundle.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ppp/bundle.c b/usr.sbin/ppp/ppp/bundle.c
index 6b219913101..0c4d9d56648 100644
--- a/usr.sbin/ppp/ppp/bundle.c
+++ b/usr.sbin/ppp/ppp/bundle.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: bundle.c,v 1.52 2001/02/04 01:14:27 brian Exp $
+ * $OpenBSD: bundle.c,v 1.53 2001/02/04 01:19:53 brian Exp $
*/
#include <sys/param.h>
@@ -130,7 +130,9 @@ bundle_NewPhase(struct bundle *bundle, u_int new)
switch (new) {
case PHASE_DEAD:
bundle->phase = new;
+#ifdef HAVE_DES
MPPE_MasterKeyValid = 0;
+#endif
log_DisplayPrompts();
break;