tls: Support a maximum TLS version to negotiate using TLS socket abstraction

This commit is contained in:
Martin Willi
2014-04-01 14:28:55 +02:00
parent 5313880261
commit e15f64cc81
6 changed files with 9 additions and 7 deletions
@@ -877,7 +877,7 @@ static bool soap_init(private_tnc_ifmap_soap_t *this)
/* open TLS socket */
this->tls = tls_socket_create(FALSE, server_id, client_id, this->fd,
NULL, FALSE);
NULL, TLS_1_2, FALSE);
if (!this->tls)
{
DBG1(DBG_TNC, "creating TLS socket failed");