diff options
author | Martin Willi <martin@revosec.ch> | 2014-04-01 14:53:28 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-04-01 14:53:28 +0200 |
commit | b87f7840bc090de5b76328c4c12dfb7e27e73f7e (patch) | |
tree | e50a2bad6ed7edbd0151516ff7220de44c25d6eb /src/libpttls/pt_tls_client.c | |
parent | 96e3142c39a69cfc99fc808f2df3f9d409b05357 (diff) | |
parent | 5ba9f734577321f0445ee38625cdea075d1bb9cf (diff) | |
download | strongswan-b87f7840bc090de5b76328c4c12dfb7e27e73f7e.tar.bz2 strongswan-b87f7840bc090de5b76328c4c12dfb7e27e73f7e.tar.xz |
Merge branch 'tls-unit-tests'
Add some initial unit-tests to libtls, testing all supported cipher suites
against self, both with and without client authentication, for all supported
TLS versions.
Diffstat (limited to 'src/libpttls/pt_tls_client.c')
-rw-r--r-- | src/libpttls/pt_tls_client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libpttls/pt_tls_client.c b/src/libpttls/pt_tls_client.c index 01a84cd14..315129d7e 100644 --- a/src/libpttls/pt_tls_client.c +++ b/src/libpttls/pt_tls_client.c @@ -84,7 +84,8 @@ static bool make_connection(private_pt_tls_client_t *this) return FALSE; } - this->tls = tls_socket_create(FALSE, this->server, this->client, fd, NULL); + this->tls = tls_socket_create(FALSE, this->server, this->client, fd, + NULL, TLS_1_2, FALSE); if (!this->tls) { close(fd); |