From e15f64cc81818f3769b91b2372559a64f0b92b7b Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 25 Mar 2014 10:12:51 +0100 Subject: tls: Support a maximum TLS version to negotiate using TLS socket abstraction --- src/libpttls/pt_tls_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libpttls/pt_tls_client.c') 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); -- cgit v1.2.3