]> git.ipfire.org Git - thirdparty/hostap.git/commit
BoringSSL: Support new SHA_CTX definition for EAP-SIM PRF
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 4 Dec 2015 09:26:29 +0000 (11:26 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 4 Dec 2015 09:30:36 +0000 (11:30 +0200)
commitf846211e3ec43dc1638ce1e4cae80e79c07129c7
treeb06e8e51fba3c0fc7751ceed3028dd64a5b7b0f5
parentb34c623c074c8eb315667320b041b4744754795f
BoringSSL: Support new SHA_CTX definition for EAP-SIM PRF

BoringSSL modified the struct sha_state_st (SHA_CTX) definition by
converting h0..h4 with h[5] array. This broke wpa_supplicant/hostapd
build with EAP-SIM enabled. BoringSSL restored the old version for
ANDROID builds, but only the new version is currently defined for
non-Android cases. For now, fix this by having matching selection in
fips_prf_openssl.c based on OPENSSL_IS_BORINGSSL and ANDROID defines.

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