OpenSSL: Fix tls_init(NULL) with FIPS-enabled build
authorJouni Malinen <j@w1.fi>
Fri, 12 Feb 2010 18:51:10 +0000 (20:51 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 12 Feb 2010 18:51:10 +0000 (20:51 +0200)
commitcf123d7f4ca69b267e4c0225d31191f95b771012
tree961ad3870a33eac3aa55167149f26fcc88f57ed8
parente0b3b3cb77d66e54cded20cc106719c60ad96509
OpenSSL: Fix tls_init(NULL) with FIPS-enabled build

The conf argument to tls_init() may be NULL (as it is when using
hostapd), so we must check that here before dereferencing the
pointer.
src/crypto/tls_openssl.c