diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-04-05 18:35:22 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-04-05 18:35:22 +0200 |
commit | 934216df2d6a2b186afd0d3944f1a6c8c8086a16 (patch) | |
tree | c5685a09b8424d485e688ae8fc6cad1c70cdcfc0 /src/libcharon/plugins/eap_tls/eap_tls.c | |
parent | 1bee89d339e55207d99eb88da24f2412329a1254 (diff) | |
download | strongswan-934216df2d6a2b186afd0d3944f1a6c8c8086a16.tar.bz2 strongswan-934216df2d6a2b186afd0d3944f1a6c8c8086a16.tar.xz |
added get|set_identifier() methods to eap_tls_t and eap_ttls_t
Diffstat (limited to 'src/libcharon/plugins/eap_tls/eap_tls.c')
-rw-r--r-- | src/libcharon/plugins/eap_tls/eap_tls.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libcharon/plugins/eap_tls/eap_tls.c b/src/libcharon/plugins/eap_tls/eap_tls.c index efe72c437..f6e8aba89 100644 --- a/src/libcharon/plugins/eap_tls/eap_tls.c +++ b/src/libcharon/plugins/eap_tls/eap_tls.c @@ -91,6 +91,18 @@ METHOD(eap_method_t, get_msk, status_t, return FAILED; } +METHOD(eap_method_t, get_identifier, u_int8_t, + private_eap_tls_t *this) +{ + return this->tls_eap->get_identifier(this->tls_eap); +} + +METHOD(eap_method_t, set_identifier, void, + private_eap_tls_t *this, u_int8_t identifier) +{ + this->tls_eap->set_identifier(this->tls_eap, identifier); +} + METHOD(eap_method_t, is_mutual, bool, private_eap_tls_t *this) { @@ -123,6 +135,8 @@ static eap_tls_t *eap_tls_create(identification_t *server, .get_type = _get_type, .is_mutual = _is_mutual, .get_msk = _get_msk, + .get_identifier = _get_identifier, + .set_identifier = _set_identifier, .destroy = _destroy, }, }, |