Annotation of /trunk/ppp/patches/ppp-2.4.4-mschapv2-initialize-response.patch
Parent Directory | Revision Log
Revision 797 -
(hide annotations)
(download)
Mon May 11 09:46:04 2009 UTC (15 years, 4 months ago) by niro
File size: 477 byte(s)
Mon May 11 09:46:04 2009 UTC (15 years, 4 months ago) by niro
File size: 477 byte(s)
-added patches from gentoo
1 | niro | 797 | diff -Nru ppp-2.4.4.orig/pppd/chap_ms.c ppp-2.4.4/pppd/chap_ms.c |
2 | --- ppp-2.4.4.orig/pppd/chap_ms.c 2006-05-21 13:56:40.000000000 +0200 | ||
3 | +++ ppp-2.4.4/pppd/chap_ms.c 2006-11-23 19:50:47.709231200 +0100 | ||
4 | @@ -852,7 +852,7 @@ | ||
5 | u_char *p = &response[MS_CHAP2_PEER_CHALLENGE]; | ||
6 | int i; | ||
7 | |||
8 | - BZERO(response, sizeof(*response)); | ||
9 | + BZERO(response, MS_CHAP2_RESPONSE_LEN); | ||
10 | |||
11 | /* Generate the Peer-Challenge if requested, or copy it if supplied. */ | ||
12 | if (!PeerChallenge) |