diff options
author | sam <sam@FreeBSD.org> | 2006-03-07 05:47:04 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-03-07 05:47:04 +0000 |
commit | 84f883d618d0eca94f2e20b3d29474005c455cc6 (patch) | |
tree | 161a6132f61b543e3759ff389bacc462dacf3d72 /contrib/hostapd/eap_tls.c | |
parent | f87f3cf9d3ac68ade33194941f85722ffdff2195 (diff) | |
parent | 8d55057fb42bf9070fd379acbcb6fc4ef793d2a7 (diff) | |
download | FreeBSD-src-84f883d618d0eca94f2e20b3d29474005c455cc6.zip FreeBSD-src-84f883d618d0eca94f2e20b3d29474005c455cc6.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r156373,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/hostapd/eap_tls.c')
-rw-r--r-- | contrib/hostapd/eap_tls.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/hostapd/eap_tls.c b/contrib/hostapd/eap_tls.c index 58ab277..bf76f5a 100644 --- a/contrib/hostapd/eap_tls.c +++ b/contrib/hostapd/eap_tls.c @@ -191,6 +191,13 @@ static void eap_tls_process(struct eap_sm *sm, void *priv, data->state = FAILURE; return; } + + if (tls_connection_get_write_alerts(sm->ssl_ctx, data->ssl.conn) > 1) { + wpa_printf(MSG_INFO, "EAP-TLS: Locally detected fatal error " + "in TLS processing"); + data->state = FAILURE; + return; + } } |