]> git.ipfire.org Git - thirdparty/hostap.git/commit
hs20-osu-client: Validate HTTPS server certificate by default (browser)
authorJouni Malinen <j@w1.fi>
Sun, 16 Feb 2020 15:33:58 +0000 (17:33 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 16 Feb 2020 15:40:52 +0000 (17:40 +0200)
commite33a0eecece8799306652ca50d3c5f1c3b3b4fff
tree73791c09b0a8887e94e3828c14bb512af717149a
parent61bf9819c1b6f88807b1cc7bb77e1614e798a939
hs20-osu-client: Validate HTTPS server certificate by default (browser)

This changes "hs20-osu-client browser <URL>" behavior to validate the
HTTPS server certificate against the system trust roots. The new command
line argument -T can be used to disable this validation.

This does not change behavior for SPP/OMA-DM triggered OSU operation,
i.e., they continue to not mandate server certificate validation for now
to avoid breaking existing test cases.

Signed-off-by: Jouni Malinen <j@w1.fi>
hs20/client/osu_client.c
hs20/client/osu_client.h