tls: Support a maximum TLS version to negotiate using TLS socket abstraction
This commit is contained in:
1 parent
5313880261
commit
e15f64cc81
6 files changed
+9
-7
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user