PPP, MPPE, drop unencrypted input packet if MPPE is required

This commit is contained in:
Sylvain Rochet
2015-04-20 21:13:34 +02:00
parent b302cad46d
commit ced24f9215
3 changed files with 20 additions and 23 deletions

View File

@@ -173,9 +173,6 @@ void mppe_comp_reset(ppp_pcb *pcb, ppp_mppe_state *state);
err_t mppe_compress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb, u16_t protocol);
void mppe_decomp_reset(ppp_pcb *pcb, ppp_mppe_state *state);
err_t mppe_decompress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb);
#if 0 /* unused */
void mppe_incomp(ppp_pcb *pcb, ppp_mppe_state *state, unsigned char *ibuf, int icnt);
#endif /* unused */
#endif /* MPPE_H */
#endif /* PPP_SUPPORT && MPPE_SUPPORT */