From c1b3858a0735b7a21423569d2595de320ed5385e Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 24 Dec 2014 13:44:58 -0600 Subject: [PATCH] unit: Add a call to eapol_verify in unit test --- unit/test-eapol.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unit/test-eapol.c b/unit/test-eapol.c index aeda9626..897e05d4 100644 --- a/unit/test-eapol.c +++ b/unit/test-eapol.c @@ -192,6 +192,8 @@ static void eapol_key_test(const void *data) const struct eapol_key_data *test = data; struct eapol_key *packet; + assert(eapol_verify(test->frame, test->frame_len)); + packet = (struct eapol_key *)test->frame; assert(packet->protocol_version == test->protocol_version);