optional certificate-based peer authentication on TLS server side

This commit is contained in:
Andreas Steffen
2010-08-15 13:02:57 +02:00
parent 758d7283fb
commit b51ac45c48
6 changed files with 49 additions and 23 deletions
+2 -2
View File
@@ -433,8 +433,8 @@ static eap_tls_t *eap_tls_create(identification_t *server,
.is_server = is_server,
);
/* MSK PRF ASCII constant label according to EAP-TLS RFC 5216 */
this->tls = tls_create(is_server, server, peer, "client EAP encryption",
NULL);
this->tls = tls_create(is_server, server, peer, TRUE,
"client EAP encryption", NULL);
return &this->public;
}
+2 -2
View File
@@ -441,8 +441,8 @@ static eap_ttls_t *eap_ttls_create(identification_t *server,
.is_server = is_server,
);
/* MSK PRF ASCII constant label according to EAP-TTLS RFC 5281 */
this->tls = tls_create(is_server, server, peer, "ttls keying material",
application);
this->tls = tls_create(is_server, server, peer, FALSE,
"ttls keying material", application);
return &this->public;
}