tls: Introduce a generic TLS purpose that accepts NULL encryption ciphers

This commit is contained in:
Martin Willi
2014-04-01 14:28:55 +02:00
parent ac5717c9e9
commit ddf5222096
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -447,6 +447,7 @@ tls_t *tls_create(bool is_server, identification_t *server,
case TLS_PURPOSE_EAP_TTLS:
case TLS_PURPOSE_EAP_PEAP:
case TLS_PURPOSE_GENERIC:
case TLS_PURPOSE_GENERIC_NULLOK:
break;
default:
return NULL;