aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/eap_tls/tls/tls.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-02-09 18:19:25 +0100
committerMartin Willi <martin@revosec.ch>2010-08-03 15:39:25 +0200
commit400df4ca7c659d2f371129d18c6dedf82840c2ea (patch)
treec345844c243c9ab49b7e07af9921cab0a67a5462 /src/charon/plugins/eap_tls/tls/tls.h
parent97abf95412026355bfc3158ce9bb917cd014e2d3 (diff)
downloadstrongswan-400df4ca7c659d2f371129d18c6dedf82840c2ea.tar.bz2
strongswan-400df4ca7c659d2f371129d18c6dedf82840c2ea.tar.xz
Implemented EAP-TLS server functionality
Diffstat (limited to 'src/charon/plugins/eap_tls/tls/tls.h')
-rw-r--r--src/charon/plugins/eap_tls/tls/tls.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/charon/plugins/eap_tls/tls/tls.h b/src/charon/plugins/eap_tls/tls/tls.h
index f40a59a02..283f591e7 100644
--- a/src/charon/plugins/eap_tls/tls/tls.h
+++ b/src/charon/plugins/eap_tls/tls/tls.h
@@ -135,6 +135,13 @@ struct tls_t {
void (*set_version)(tls_t *this, tls_version_t version);
/**
+ * Check if TLS negotiation completed successfully.
+ *
+ * @return TRUE if TLS negotation and authentication complete
+ */
+ bool (*is_complete)(tls_t *this);
+
+ /**
* Get the MSK for EAP-TLS.
*
* @return MSK, internal data