From c1c3d0e1ba6f8372e1be3cdc92c2d13feb779937 Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Sat, 2 Jul 2016 19:36:34 +0200 Subject: [PATCH] PPP: fix build when MSCHAP authentication feature is disabled at compile time All modules using PolarSSL embedded library are now using pppcrypt.h. This header use to be only necessary for MSCHAP and was not built if MSCHAP wasn't enabled, we unfortunately left the build condition. Introduced by 3417a02b25: PPP: add a function map for hashes and ciphers to prepare for mbed TLS support. --- src/include/netif/ppp/pppcrypt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/netif/ppp/pppcrypt.h b/src/include/netif/ppp/pppcrypt.h index 7790fe01..a7b2099f 100644 --- a/src/include/netif/ppp/pppcrypt.h +++ b/src/include/netif/ppp/pppcrypt.h @@ -31,7 +31,7 @@ */ #include "netif/ppp/ppp_opts.h" -#if PPP_SUPPORT && MSCHAP_SUPPORT /* don't build if not configured for use in lwipopts.h */ +#if PPP_SUPPORT /* don't build if not configured for use in lwipopts.h */ /* This header file is included in all PPP modules needing hashes and/or ciphers */ @@ -133,4 +133,4 @@ void pppcrypt_56_to_64_bit_key(u_char *key, u_char *des_key); #endif /* PPPCRYPT_H */ -#endif /* PPP_SUPPORT && MSCHAP_SUPPORT */ +#endif /* PPP_SUPPORT */