child-rekey: Suppress updown event when deleting redundant CHILD_SAs
[strongswan.git] / scripts / tls_test.c
index 3d47f6f..84a32f9 100644 (file)
@@ -105,7 +105,7 @@ static int run_client(host_t *host, identification_t *server,
                        close(fd);
                        return 1;
                }
-               tls = tls_socket_create(FALSE, server, client, fd, cache, TRUE);
+               tls = tls_socket_create(FALSE, server, client, fd, cache, TLS_1_2, TRUE);
                if (!tls)
                {
                        close(fd);
@@ -162,7 +162,7 @@ static int serve(host_t *host, identification_t *server,
                }
                DBG1(DBG_TLS, "%#H connected", host);
 
-               tls = tls_socket_create(TRUE, server, NULL, cfd, cache, TRUE);
+               tls = tls_socket_create(TRUE, server, NULL, cfd, cache, TLS_1_2, TRUE);
                if (!tls)
                {
                        close(fd);