diff options
author | Benjamin Franzke <benjaminfranzke@gmail.com> | 2023-12-29 05:01:20 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@gmail.com> | 2023-12-29 05:01:23 +0100 |
commit | d5dbf11d1c727c2854ece57643eae8ab482e12bd (patch) | |
tree | 865ab6e145c0261d638f5ec463006e3fbea78314 /src | |
parent | 2606a7ef6d4588a065b24cda2bfbdd859803d66b (diff) | |
download | cmumble-d5dbf11d1c727c2854ece57643eae8ab482e12bd.tar.gz cmumble-d5dbf11d1c727c2854ece57643eae8ab482e12bd.tar.bz2 cmumble-d5dbf11d1c727c2854ece57643eae8ab482e12bd.zip |
Drop deprecated call to g_socket_client_set_tls_validation_flags
See https://github.com/GNOME/glib/commit/d1e9e0c094a28972df725e3bb07b28e4dd7fb390
> This function does not work as originally designed and is impossible
> to use correctly. See #GSocketClient:tls-validation-flags for more
> information.
Diffstat (limited to 'src')
-rw-r--r-- | src/connection.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/connection.c b/src/connection.c index abe6ca5..037f33b 100644 --- a/src/connection.c +++ b/src/connection.c @@ -60,12 +60,6 @@ cmumble_connection_init(struct cmumble *cm, con->sock_client = g_socket_client_new(); g_socket_client_set_tls(con->sock_client, TRUE); - /* - g_socket_client_set_tls_validation_flags(con->sock_client, - G_TLS_CERTIFICATE_INSECURE); - */ - g_socket_client_set_tls_validation_flags(con->sock_client, - G_TLS_CERTIFICATE_VALIDATE_ALL); g_socket_client_set_family(con->sock_client, G_SOCKET_FAMILY_IPV4); g_socket_client_set_protocol(con->sock_client, G_SOCKET_PROTOCOL_TCP); g_socket_client_set_socket_type(con->sock_client, G_SOCKET_TYPE_STREAM); |