Use only the bit after the ``\'' when hashing the challenge in
MSChapv2 Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
This commit is contained in:
parent
fecae3493c
commit
17aa4afba3
@ -159,7 +159,7 @@ ChallengeHash(char *PeerChallenge, char *AuthenticatorChallenge,
|
||||
|
||||
SHA1_Update(&Context, PeerChallenge, 16);
|
||||
SHA1_Update(&Context, AuthenticatorChallenge, 16);
|
||||
SHA1_Update(&Context, UserName, UserNameLen);
|
||||
SHA1_Update(&Context, Name, strlen(Name));
|
||||
|
||||
SHA1_Final(Digest, &Context);
|
||||
memcpy(Challenge, Digest, 8);
|
||||
|
Loading…
x
Reference in New Issue
Block a user