]> git.ipfire.org Git - thirdparty/hostap.git/commit
HS 2.0: OSU server test functionality for incorrect behavior
authorJouni Malinen <jouni@codeaurora.org>
Wed, 17 Oct 2018 16:08:12 +0000 (19:08 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 17 Oct 2018 16:08:12 +0000 (19:08 +0300)
commita9574f0f99042b0214c9d3b408a672f513f7bb90
treea941089661817b5be69cc646792df84519c4abba
parentde7bcb9bc9417724bb108fde91e97d0018c53e0f
HS 2.0: OSU server test functionality for incorrect behavior

Add a mechanism to allow special incorrect behavior to be requested from
OSU server by adding an optional parameter test=<value> to the initial
signup URL. This is for protocol testing purposes for the OSU client.

This commit adds two special behavior cases: corrupt_aaa_hash and
corrupt_subrem_hash. These can be used to generate PPS MO with invalid
CertSHA256Fingerprint values for AAAServerTrustRoot and
SubscriptionUpdate nodes.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
hs20/server/hs20_spp_server.c
hs20/server/spp_server.c
hs20/server/spp_server.h
hs20/server/sql.txt
hs20/server/www/signup.php
hs20/server/www/spp.php