diff --git a/unit/test-eapol.c b/unit/test-eapol.c index 07976568..641f610b 100644 --- a/unit/test-eapol.c +++ b/unit/test-eapol.c @@ -504,8 +504,8 @@ static void eapol_4way_test(const void *data) step2 = eapol_key_validate(eapol_key_data_4, sizeof(eapol_key_data_4)); - assert(eapol_verify_ptk_2_of_4(step2)); assert(step2); + assert(eapol_verify_ptk_2_of_4(step2)); memcpy(snonce, step2->key_nonce, sizeof(step2->key_nonce)); assert(!crypto_psk_from_passphrase(passphrase, (uint8_t *) ssid,