diff options
Diffstat (limited to 'src/crypto/ms_funcs.c')
-rw-r--r-- | src/crypto/ms_funcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/ms_funcs.c b/src/crypto/ms_funcs.c index 9c5b2f9..9839a7d 100644 --- a/src/crypto/ms_funcs.c +++ b/src/crypto/ms_funcs.c @@ -404,7 +404,7 @@ int encrypt_pw_block_with_password_hash( */ pos = &pw_block[2 * 256]; WPA_PUT_LE16(pos, password_len * 2); - rc4(pw_block, PWBLOCK_LEN, password_hash, 16); + rc4_skip(password_hash, 16, 0, pw_block, PWBLOCK_LEN); return 0; } |