diff options
author | Marc <foxtrot@malloc.me> | 2022-01-28 23:28:38 +0000 |
---|---|---|
committer | Marc <foxtrot@malloc.me> | 2022-01-28 23:28:45 +0000 |
commit | e5832d90a9a0dad45350956cb6f8802ffd6afb16 (patch) | |
tree | 4f74de2cdce9395464164432e52a00c612fc1fa2 /test/src/auth_tests.c | |
parent | 4c1232aaccdafcd213b615f7e8f36e5b5604fb59 (diff) | |
download | libwifi-e5832d90a9a0dad45350956cb6f8802ffd6afb16.tar.gz libwifi-e5832d90a9a0dad45350956cb6f8802ffd6afb16.tar.bz2 libwifi-e5832d90a9a0dad45350956cb6f8802ffd6afb16.zip |
test: Fixup tests for new gen function prototypes
Diffstat (limited to 'test/src/auth_tests.c')
-rw-r--r-- | test/src/auth_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/auth_tests.c b/test/src/auth_tests.c index f78aeed..41dcefe 100644 --- a/test/src/auth_tests.c +++ b/test/src/auth_tests.c | |||
@@ -12,7 +12,7 @@ const unsigned char bcast[] = BCAST_MAC; | |||
12 | int test_auth_gen_full() { | 12 | int test_auth_gen_full() { |
13 | struct libwifi_auth auth = {0}; | 13 | struct libwifi_auth auth = {0}; |
14 | 14 | ||
15 | int ret = libwifi_create_auth(&auth, bcast, to, 0, 100, STATUS_SUCCESS); | 15 | int ret = libwifi_create_auth(&auth, bcast, to, to, 0, 100, STATUS_SUCCESS); |
16 | if (ret != 0) { | 16 | if (ret != 0) { |
17 | fprintf(stderr, "Failed to create auth: %s\n", strerror(ret)); | 17 | fprintf(stderr, "Failed to create auth: %s\n", strerror(ret)); |
18 | return ret; | 18 | return ret; |
@@ -42,7 +42,7 @@ int test_auth_gen_full() { | |||
42 | int test_auth_add_tag() { | 42 | int test_auth_add_tag() { |
43 | struct libwifi_auth auth = {0}; | 43 | struct libwifi_auth auth = {0}; |
44 | 44 | ||
45 | int ret = libwifi_create_auth(&auth, bcast, to, 0, 100, STATUS_SUCCESS); | 45 | int ret = libwifi_create_auth(&auth, bcast, to, to, 0, 100, STATUS_SUCCESS); |
46 | if (ret != 0) { | 46 | if (ret != 0) { |
47 | fprintf(stderr, "Failed to create auth: %s\n", strerror(ret)); | 47 | fprintf(stderr, "Failed to create auth: %s\n", strerror(ret)); |
48 | return ret; | 48 | return ret; |