diff options
author | Martin Willi <martin@revosec.ch> | 2014-03-25 10:12:51 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-04-01 14:28:55 +0200 |
commit | e15f64cc81818f3769b91b2372559a64f0b92b7b (patch) | |
tree | 456b0adf9106a10292b28bca48cd01bed3927738 /src/libpttls/pt_tls_client.c | |
parent | 5313880261fe271ac5b334ccacf92d6253efaf3d (diff) | |
download | strongswan-e15f64cc81818f3769b91b2372559a64f0b92b7b.tar.bz2 strongswan-e15f64cc81818f3769b91b2372559a64f0b92b7b.tar.xz |
tls: Support a maximum TLS version to negotiate using TLS socket abstraction
Diffstat (limited to 'src/libpttls/pt_tls_client.c')
-rw-r--r-- | src/libpttls/pt_tls_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libpttls/pt_tls_client.c b/src/libpttls/pt_tls_client.c index 98a2f4b47..315129d7e 100644 --- a/src/libpttls/pt_tls_client.c +++ b/src/libpttls/pt_tls_client.c @@ -85,7 +85,7 @@ static bool make_connection(private_pt_tls_client_t *this) } this->tls = tls_socket_create(FALSE, this->server, this->client, fd, - NULL, FALSE); + NULL, TLS_1_2, FALSE); if (!this->tls) { close(fd); |