Added a simple high level TLS wrapper for sockets

This commit is contained in:
Martin Willi
2010-08-25 12:52:53 +02:00
parent bd23b9086e
commit 17102f7b58
4 changed files with 290 additions and 0 deletions
+1
View File
@@ -290,6 +290,7 @@ tls_t *tls_create(bool is_server, identification_t *server,
{
case TLS_PURPOSE_EAP_TLS:
case TLS_PURPOSE_EAP_TTLS:
case TLS_PURPOSE_GENERIC:
break;
default:
return NULL;