summaryrefslogtreecommitdiffstats
path: root/contrib/wpa/src/wps/wps_module_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/wpa/src/wps/wps_module_tests.c')
-rw-r--r--contrib/wpa/src/wps/wps_module_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/wpa/src/wps/wps_module_tests.c b/contrib/wpa/src/wps/wps_module_tests.c
index 6800e86..3506307 100644
--- a/contrib/wpa/src/wps/wps_module_tests.c
+++ b/contrib/wpa/src/wps/wps_module_tests.c
@@ -17,7 +17,7 @@ struct wps_attr_parse_test {
int extra;
};
-struct wps_attr_parse_test wps_attr_parse_test_cases[] = {
+const struct wps_attr_parse_test wps_attr_parse_test_cases[] = {
/* Empty message */
{ "", 0, 0 },
/* Truncated attribute header */
@@ -271,7 +271,7 @@ static int wps_attr_parse_tests(void)
for (i = 0; i < ARRAY_SIZE(wps_attr_parse_test_cases); i++) {
struct wpabuf *buf;
size_t len;
- struct wps_attr_parse_test *test =
+ const struct wps_attr_parse_test *test =
&wps_attr_parse_test_cases[i];
len = os_strlen(test->data) / 2;
OpenPOWER on IntegriCloud