3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-24 15:22:34 +01:00

unit: Update mschapv2 test to use mschap_nt_password_hash

This commit is contained in:
Andrew Zaborowski 2019-03-19 01:25:30 +01:00 committed by Denis Kenzior
parent 0bf3ae97d7
commit 7031045dfb

View File

@ -89,7 +89,7 @@ static void test_nt_password_hash(const void *data)
{
uint8_t hash[16];
assert(mschapv2_nt_password_hash(nt_password, hash));
assert(mschap_nt_password_hash(nt_password, hash));
assert(!memcmp(hash, password_hash, sizeof(password_hash)));
}