EAP-TLS and EAP-TTLS use different constant MSK PRF label

This commit is contained in:
Andreas Steffen
2010-08-07 11:26:04 +02:00
parent b4d30a425e
commit a6444fcdd4
6 changed files with 20 additions and 9 deletions
+2 -1
View File
@@ -424,7 +424,8 @@ static eap_tls_t *eap_tls_create(identification_t *server,
},
.is_server = is_server,
);
this->tls = tls_create(is_server, server, peer);
/* MSK PRF ASCII constant label according to EAP-TLS RFC 5216 */
this->tls = tls_create(is_server, server, peer, "client EAP encryption");
return &this->public;
}
+2 -1
View File
@@ -424,7 +424,8 @@ static eap_ttls_t *eap_ttls_create(identification_t *server,
},
.is_server = is_server,
);
this->tls = tls_create(is_server, server, peer);
/* MSK PRF ASCII constant label according to EAP-TTLS RFC 5281 */
this->tls = tls_create(is_server, server, peer, "ttls keying material");
return &this->public;
}