aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtls/tls.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-08-25 12:51:01 +0200
committerMartin Willi <martin@revosec.ch>2010-08-25 12:52:53 +0200
commit17102f7b58793bf1b5a05ab30bb67f32f2235da5 (patch)
tree820de88fc9646c51262bc21b5c7f9c3006413ecd /src/libtls/tls.c
parentbd23b9086e68371612d5efeabb28b43b7825e6d2 (diff)
downloadstrongswan-17102f7b58793bf1b5a05ab30bb67f32f2235da5.tar.bz2
strongswan-17102f7b58793bf1b5a05ab30bb67f32f2235da5.tar.xz
Added a simple high level TLS wrapper for sockets
Diffstat (limited to 'src/libtls/tls.c')
-rw-r--r--src/libtls/tls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libtls/tls.c b/src/libtls/tls.c
index 116a7bd45..db4797754 100644
--- a/src/libtls/tls.c
+++ b/src/libtls/tls.c
@@ -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;