mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 21:14:40 +08:00
slightly improved compiler warning fixes
This commit is contained in:
parent
bada7e0f92
commit
52dc9ef418
@ -40,8 +40,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#if PPP_SUPPORT
|
#if PPP_SUPPORT && LWIP_INCLUDED_POLARSSL_DES
|
||||||
#if LWIP_INCLUDED_POLARSSL_DES
|
|
||||||
|
|
||||||
#include "netif/ppp/polarssl/des.h"
|
#include "netif/ppp/polarssl/des.h"
|
||||||
|
|
||||||
@ -420,5 +419,4 @@ void des_crypt_ecb( des_context *ctx,
|
|||||||
PUT_ULONG_BE( X, output, 4 );
|
PUT_ULONG_BE( X, output, 4 );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* PPP_SUPPORT */
|
#endif /* PPP_SUPPORT && LWIP_INCLUDED_POLARSSL_DES */
|
||||||
#endif /* LWIP_INCLUDED_POLARSSL_DES */
|
|
||||||
|
@ -40,8 +40,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#if PPP_SUPPORT
|
#if PPP_SUPPORT && LWIP_INCLUDED_POLARSSL_MD4
|
||||||
#if LWIP_INCLUDED_POLARSSL_MD4
|
|
||||||
|
|
||||||
#include "netif/ppp/polarssl/md4.h"
|
#include "netif/ppp/polarssl/md4.h"
|
||||||
|
|
||||||
@ -277,5 +276,4 @@ void md4( unsigned char *input, int ilen, unsigned char output[16] )
|
|||||||
md4_finish( &ctx, output );
|
md4_finish( &ctx, output );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* PPP_SUPPORT */
|
#endif /* PPP_SUPPORT && LWIP_INCLUDED_POLARSSL_MD4 */
|
||||||
#endif /* LWIP_INCLUDED_POLARSSL_MD4 */
|
|
||||||
|
@ -39,8 +39,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#if PPP_SUPPORT
|
#if PPP_SUPPORT && LWIP_INCLUDED_POLARSSL_MD5
|
||||||
#if LWIP_INCLUDED_POLARSSL_MD5
|
|
||||||
|
|
||||||
#include "netif/ppp/polarssl/md5.h"
|
#include "netif/ppp/polarssl/md5.h"
|
||||||
|
|
||||||
@ -296,5 +295,4 @@ void md5( unsigned char *input, int ilen, unsigned char output[16] )
|
|||||||
md5_finish( &ctx, output );
|
md5_finish( &ctx, output );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* PPP_SUPPORT */
|
#endif /* PPP_SUPPORT && LWIP_INCLUDED_POLARSSL_MD5 */
|
||||||
#endif /* LWIP_INCLUDED_POLARSSL_MD5 */
|
|
||||||
|
@ -39,8 +39,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#if PPP_SUPPORT
|
#if PPP_SUPPORT && LWIP_INCLUDED_POLARSSL_SHA1
|
||||||
#if LWIP_INCLUDED_POLARSSL_SHA1
|
|
||||||
|
|
||||||
#include "netif/ppp/polarssl/sha1.h"
|
#include "netif/ppp/polarssl/sha1.h"
|
||||||
|
|
||||||
@ -331,5 +330,4 @@ void sha1( unsigned char *input, int ilen, unsigned char output[20] )
|
|||||||
sha1_finish( &ctx, output );
|
sha1_finish( &ctx, output );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* PPP_SUPPORT */
|
#endif /* PPP_SUPPORT && LWIP_INCLUDED_POLARSSL_SHA1 */
|
||||||
#endif /* LWIP_INCLUDED_POLARSSL_SHA1 */
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user