ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause...
[openwrt.git] / package / ppp / patches / 104-debian_fix_mschapv2_ppp.patch
1 --- a/pppd/chap_ms.c
2 +++ b/pppd/chap_ms.c
3 @@ -852,7 +852,7 @@ ChapMS2(u_char *rchallenge, u_char *Peer
4 u_char *p = &response[MS_CHAP2_PEER_CHALLENGE];
5 int i;
6
7 - BZERO(response, sizeof(*response));
8 + BZERO(response, MS_CHAP2_RESPONSE_LEN);
9
10 /* Generate the Peer-Challenge if requested, or copy it if supplied. */
11 if (!PeerChallenge)
This page took 0.051758 seconds and 5 git commands to generate.