wpa_supplicant: Fix NULL dereference in tls_verify_cb()
authorEytan Lifshitz <eytan.lifshitz@intel.com>
Mon, 10 Feb 2014 10:55:08 +0000 (12:55 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 13 Feb 2014 13:58:21 +0000 (15:58 +0200)
commit97efe70b60755a87cfe14d9475c4e90b4acb9145
tree9cbb080960c6fc539dd7b5e14102de433d7c336d
parentc0c11afaf1467e74769acc96344255c7828415b4
wpa_supplicant: Fix NULL dereference in tls_verify_cb()

In function tls_verify_cb(), X509_STORE_CTX_get_current_cert() may
return NULL, and it will be dereferenced by X509_get_subject_name().

Signed-hostap: Eytan Lifshitz <eytan.lifshitz@intel.com>
src/crypto/tls_openssl.c