]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Fix dpp_test_gen_invalid_key() with BoringSSL
authorJouni Malinen <jouni@qca.qualcomm.com>
Sat, 18 Nov 2017 11:22:17 +0000 (13:22 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 18 Nov 2017 15:50:08 +0000 (17:50 +0200)
commit94619905c86d434feba3d7bb902aa228418349c6
treec94097ed5e55965d4bd7378f15f5e98681a2d7de
parentd584946ec15df6d626faf4a6692d7c13943fe4d1
DPP: Fix dpp_test_gen_invalid_key() with BoringSSL

Unlike OpenSSL, BoringSSL returns an error from
EC_POINT_set_affine_coordinates_GFp() is not on the curve. As such, need
to behave differently here depending on which library is used.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/common/dpp.c