]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Fix memory leak on FIPS error paths
authorJouni Malinen <j@w1.fi>
Thu, 16 Aug 2012 14:38:46 +0000 (17:38 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 16 Aug 2012 14:38:46 +0000 (17:38 +0300)
commitb36540dbebd5da45b967a493cad8b52108d88182
treebac85896fcf4f4f6fa758e4aa85b26d766b38b66
parent4f219667d73446558c347fb939385c8dc95a8918
OpenSSL: Fix memory leak on FIPS error paths

Do not leave the tls_global context allocated if the global OpenSSL
initialization fails. This was possible in case of FIPS builds if
the FIPS mode cannot be initialized.

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