implemented get|set_identifier() for tls_eap_t
This commit is contained in:
@@ -61,6 +61,21 @@ struct tls_eap_t {
|
||||
*/
|
||||
chunk_t (*get_msk)(tls_eap_t *this);
|
||||
|
||||
/**
|
||||
* Get the current EAP identifier.
|
||||
*
|
||||
* @return identifier
|
||||
*/
|
||||
u_int8_t (*get_identifier)(tls_eap_t *this);
|
||||
|
||||
/**
|
||||
* Set the EAP identifier to a deterministic value, overwriting
|
||||
* the randomly initialized default value.
|
||||
*
|
||||
* @param identifier EAP identifier
|
||||
*/
|
||||
void (*set_identifier) (tls_eap_t *this, u_int8_t identifier);
|
||||
|
||||
/**
|
||||
* Destroy a tls_eap_t.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user