aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/eap_tls/tls/tls.h
diff options
context:
space:
mode:
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