Skip to content

Commit

Permalink
Fixed bug appeared when MPPE is used with MSCHAP-V2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Kruchinin committed Oct 20, 2010
1 parent 5250d38 commit 7f32e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chap_verifiers.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Set_Start_Key(u_char *rchallenge, u_char PasswordHash[MD4_SIGNATURE_SIZE])
u_char PasswordHashHash[MD4_SIGNATURE_SIZE];

/* Hash (x2) the Unicode version of the secret (== password). */
NTPasswordHash(PasswordHash, sizeof(PasswordHash), PasswordHashHash);
NTPasswordHash(PasswordHash, MD4_SIGNATURE_SIZE, PasswordHashHash);
mppe_set_keys(rchallenge, PasswordHashHash);
}

Expand Down

0 comments on commit 7f32e14

Please sign in to comment.