Added generic TLS purposes

This commit is contained in:
Martin Willi
2010-08-24 08:45:49 +02:00
parent f55f9c4e1e
commit bda7d9d940
3 changed files with 19 additions and 6 deletions
+2
View File
@@ -683,9 +683,11 @@ tls_server_t *tls_server_create(tls_t *tls,
{
case TLS_PURPOSE_EAP_TLS:
case TLS_PURPOSE_EAP_TTLS_CLIENT_AUTH:
case TLS_PURPOSE_GENERIC_CLIENT_AUTH:
this->request_peer_auth = TRUE;
break;
case TLS_PURPOSE_EAP_TTLS:
case TLS_PURPOSE_GENERIC:
break;
}
return &this->public;