aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps/wps_defs.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-11-28 13:47:19 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-27 19:44:31 (GMT)
commit91226e0d120c81bee6dc2c48cc5c86f2d3a17c3b (patch)
treeb39faac33ba8a5fb1f8b6abeccf009e9c514f970 /src/wps/wps_defs.h
parent73127764fe00ac9ac86419ba420f20f86d60733d (diff)
downloadhostap-91226e0d120c81bee6dc2c48cc5c86f2d3a17c3b.zip
hostap-91226e0d120c81bee6dc2c48cc5c86f2d3a17c3b.tar.gz
hostap-91226e0d120c81bee6dc2c48cc5c86f2d3a17c3b.tar.bz2
WPS: Add testing option to corrupt public key hash
If CONFIG_WPS_TESTING=y is enabled in build configuration, the new wps_corrupt_pkhash parameter (similar to wps_testing_dummy_cred) can be used to request public key hash to be corrupted in all generated OOB Device Password attributes. This can be used for testing purposes to validate public key hash validation steps. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/wps/wps_defs.h')
-rw-r--r--src/wps/wps_defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wps/wps_defs.h b/src/wps/wps_defs.h
index a736f27..6f8a49f 100644
--- a/src/wps/wps_defs.h
+++ b/src/wps/wps_defs.h
@@ -13,6 +13,7 @@
extern int wps_version_number;
extern int wps_testing_dummy_cred;
+extern int wps_corrupt_pkhash;
#define WPS_VERSION wps_version_number
#else /* CONFIG_WPS_TESTING */