aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_passphrase.c
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/wpa_passphrase.c')
-rw-r--r--wpa_supplicant/wpa_passphrase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_passphrase.c b/wpa_supplicant/wpa_passphrase.c
index a9ec236..9b568f0 100644
--- a/wpa_supplicant/wpa_passphrase.c
+++ b/wpa_supplicant/wpa_passphrase.c
@@ -52,7 +52,7 @@ int main(int argc, char *argv[])
return 1;
}
- pbkdf2_sha1(passphrase, ssid, os_strlen(ssid), 4096, psk, 32);
+ pbkdf2_sha1(passphrase, (u8 *) ssid, os_strlen(ssid), 4096, psk, 32);
printf("network={\n");
printf("\tssid=\"%s\"\n", ssid);