aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/tests/test_sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/tests/test_sha256.c')
-rw-r--r--wpa_supplicant/tests/test_sha256.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/tests/test_sha256.c b/wpa_supplicant/tests/test_sha256.c
index 161533e..7dc460d 100644
--- a/wpa_supplicant/tests/test_sha256.c
+++ b/wpa_supplicant/tests/test_sha256.c
@@ -323,7 +323,8 @@ int main(int argc, char *argv[])
}
printf("Test IEEE 802.11r KDF\n");
- sha256_prf("abc", 3, "KDF test", "data", 4, hash, sizeof(hash));
+ sha256_prf((u8 *) "abc", 3, "KDF test", (u8 *) "data", 4,
+ hash, sizeof(hash));
/* TODO: add proper test case for this */
return errors;