added get|set_identifier() methods to eap_tls_t and eap_ttls_t
This commit is contained in:
parent
1bee89d339
commit
934216df2d
|
@ -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,
|
||||
},
|
||||
},
|
||||
|
|
|
@ -93,6 +93,18 @@ METHOD(eap_method_t, get_msk, status_t,
|
|||
return FAILED;
|
||||
}
|
||||
|
||||
METHOD(eap_method_t, get_identifier, u_int8_t,
|
||||
private_eap_ttls_t *this)
|
||||
{
|
||||
return this->tls_eap->get_identifier(this->tls_eap);
|
||||
}
|
||||
|
||||
METHOD(eap_method_t, set_identifier, void,
|
||||
private_eap_ttls_t *this, u_int8_t identifier)
|
||||
{
|
||||
this->tls_eap->set_identifier(this->tls_eap, identifier);
|
||||
}
|
||||
|
||||
METHOD(eap_method_t, is_mutual, bool,
|
||||
private_eap_ttls_t *this)
|
||||
{
|
||||
|
@ -125,6 +137,8 @@ static eap_ttls_t *eap_ttls_create(identification_t *server,
|
|||
.process = _process,
|
||||
.get_type = _get_type,
|
||||
.is_mutual = _is_mutual,
|
||||
.get_identifier = _get_identifier,
|
||||
.set_identifier = _set_identifier,
|
||||
.get_msk = _get_msk,
|
||||
.destroy = _destroy,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue