aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2005-11-21 00:17:19 (GMT)
committerJouni Malinen <j@w1.fi>2005-11-21 00:17:19 (GMT)
commitc1ad7ee869c15d2ce75b6da60ba5b8bb93630f2c (patch)
tree283332725d9f309a28d224b747927d24e410aa6c
parent0a0459f10b65027430af3a706302674cfc9363c4 (diff)
downloadhostap-history-c1ad7ee869c15d2ce75b6da60ba5b8bb93630f2c.zip
hostap-history-c1ad7ee869c15d2ce75b6da60ba5b8bb93630f2c.tar.gz
hostap-history-c1ad7ee869c15d2ce75b6da60ba5b8bb93630f2c.tar.bz2
Removed bogus error message from client certificate loading if blob is
not used.
-rw-r--r--wpa_supplicant/tls_openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/tls_openssl.c b/wpa_supplicant/tls_openssl.c
index e9e30a3..c1a3102 100644
--- a/wpa_supplicant/tls_openssl.c
+++ b/wpa_supplicant/tls_openssl.c
@@ -1081,7 +1081,7 @@ static int tls_connection_client_cert(void *ssl_ctx,
wpa_printf(MSG_DEBUG, "OpenSSL: SSL_use_certificate_ASN1 --> "
"OK");
return 0;
- } else {
+ } else if (client_cert_blob) {
tls_show_errors(MSG_DEBUG, __func__,
"SSL_use_certificate_ASN1 failed");
}