implemented get|set_identifier() for tls_eap_t

This commit is contained in:
Andreas Steffen
2011-04-05 18:14:58 +02:00
parent 2e44a2753f
commit 6f69fb0134
2 changed files with 85 additions and 24 deletions
+15
View File
@@ -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.
*/