aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/tls_test.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-03-25 09:49:04 +0100
committerMartin Willi <martin@revosec.ch>2014-04-01 14:28:55 +0200
commitddf5222096321580dd307adcb2d61cbfbb96f463 (patch)
tree8fe038939cc31142151fcdaf56fa9bd1a67edb09 /scripts/tls_test.c
parentac5717c9e914edf89ede26ad1d0cbdf16004a6cb (diff)
downloadstrongswan-ddf5222096321580dd307adcb2d61cbfbb96f463.tar.bz2
strongswan-ddf5222096321580dd307adcb2d61cbfbb96f463.tar.xz
tls: Introduce a generic TLS purpose that accepts NULL encryption ciphers
Diffstat (limited to 'scripts/tls_test.c')
-rw-r--r--scripts/tls_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/tls_test.c b/scripts/tls_test.c
index 7ec477aae..3d47f6f7a 100644
--- a/scripts/tls_test.c
+++ b/scripts/tls_test.c
@@ -105,7 +105,7 @@ static int run_client(host_t *host, identification_t *server,
close(fd);
return 1;
}
- tls = tls_socket_create(FALSE, server, client, fd, cache);
+ tls = tls_socket_create(FALSE, server, client, fd, cache, TRUE);
if (!tls)
{
close(fd);
@@ -162,7 +162,7 @@ static int serve(host_t *host, identification_t *server,
}
DBG1(DBG_TLS, "%#H connected", host);
- tls = tls_socket_create(TRUE, server, NULL, cfd, cache);
+ tls = tls_socket_create(TRUE, server, NULL, cfd, cache, TRUE);
if (!tls)
{
close(fd);