]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Fix FIPS mode enabling in dynamic interface case
authorJouni Malinen <j@w1.fi>
Sat, 1 Aug 2015 19:39:21 +0000 (22:39 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 2 Aug 2015 13:52:56 +0000 (16:52 +0300)
commit4fc53159b94bb78586dc082df16745af009cbb8a
treecf0b523a4898f20e253c2a0f5aa5e27b9a4a3b52
parent38934ed10084373fae277ccffea94633b570002f
OpenSSL: Fix FIPS mode enabling in dynamic interface case

FIPS_mode_set(1) cannot be called multiple times which could happen in
some dynamic interface cases. Avoid this by enabling FIPS mode only
once. There is no code in wpa_supplicant to disable FIPS mode, so once
it is enabled, it will remain enabled.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/tls_openssl.c