# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/gnome-vfs/hotfix-openssl.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- Index: gnome-vfs-ssl.c =================================================================== --- gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-ssl.c (.../gnome-vfs-ssl.c) (working copy) +++ gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-ssl.c (.../home/user/Desktop/gnome-vfs/gnome-vfs-ssl.c) (working copy) @@ -400,8 +400,8 @@ } } - if (ssl->private->ssl->ctx) - SSL_CTX_free (ssl->private->ssl->ctx); + if (SSL_get_SSL_CTX(ssl->private->ssl)) + SSL_CTX_free (SSL_get_SSL_CTX(ssl->private->ssl)); SSL_free (ssl->private->ssl); g_free (ssl->private); @@ -705,7 +705,7 @@ } } - SSL_CTX_free (ssl->private->ssl->ctx); + SSL_CTX_free (SSL_get_SSL_CTX(ssl->private->ssl)); SSL_free (ssl->private->ssl); close (ssl->private->sockfd); if (ssl->private->timeout)