aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2015-01-29 11:15:17 +0100
committerMartin Willi <martin@revosec.ch>2015-03-03 14:08:01 +0100
commitde2a62cfb68bc1fce212e242def66e1b42df85cb (patch)
treec336a278d2a9f24539ad52ee787a13e7abdab532
parent666c5523818cbfc12ba69778ead929700245daed (diff)
downloadstrongswan-de2a62cfb68bc1fce212e242def66e1b42df85cb.tar.bz2
strongswan-de2a62cfb68bc1fce212e242def66e1b42df85cb.tar.xz
eap-tls: Support EAP auth information getter in EAP-TLS
-rw-r--r--src/libcharon/plugins/eap_tls/eap_tls.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libcharon/plugins/eap_tls/eap_tls.c b/src/libcharon/plugins/eap_tls/eap_tls.c
index dffbaf266..bc01ba5df 100644
--- a/src/libcharon/plugins/eap_tls/eap_tls.c
+++ b/src/libcharon/plugins/eap_tls/eap_tls.c
@@ -109,6 +109,12 @@ METHOD(eap_method_t, is_mutual, bool,
return TRUE;
}
+METHOD(eap_method_t, get_auth, auth_cfg_t*,
+ private_eap_tls_t *this)
+{
+ return this->tls_eap->get_auth(this->tls_eap);
+}
+
METHOD(eap_method_t, destroy, void,
private_eap_tls_t *this)
{
@@ -138,6 +144,7 @@ static eap_tls_t *eap_tls_create(identification_t *server,
.get_msk = _get_msk,
.get_identifier = _get_identifier,
.set_identifier = _set_identifier,
+ .get_auth = _get_auth,
.destroy = _destroy,
},
},