From: Paul Mackerras Date: Tue, 19 Dec 2006 08:38:14 +0000 (+0000) Subject: Fix bug in CHAP MS v2 handling where we didn't zero enough. X-Git-Tag: ppp-2.4.7~106 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=6eb63a6d40281b270c1fc56cf10452c4322daf67;hp=6eb63a6d40281b270c1fc56cf10452c4322daf67 Fix bug in CHAP MS v2 handling where we didn't zero enough. Changing the response parameter of the ChapMS2 function to an unsigned char * meant that using sizeof(*response) in a BZERO call was no longer correct. Instead we need to use MS_CHAP2_RESPONSE_LEN. Patch from Guillaume Knispel. ---