diff options
author | Matteo Bernardini | 2020-10-26 22:06:13 +0100 |
---|---|---|
committer | Matteo Bernardini | 2020-10-26 22:06:13 +0100 |
commit | e640e49a5bd5cb8a3b272af2d38aa2c5d9993949 (patch) | |
tree | efdec9a92e47f20efe8b45860584319c9fac9a8c /system/gnome-vfs/openssl-1.1.patch | |
parent | 41fa52299e271fdd4909b298cd0348f5f01986ea (diff) | |
download | slackbuilds-e640e49a5bd5cb8a3b272af2d38aa2c5d9993949.tar.gz |
20201026.1 global branch merge.current-20201026.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/gnome-vfs/openssl-1.1.patch')
-rw-r--r-- | system/gnome-vfs/openssl-1.1.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/system/gnome-vfs/openssl-1.1.patch b/system/gnome-vfs/openssl-1.1.patch new file mode 100644 index 0000000000..14207f28d1 --- /dev/null +++ b/system/gnome-vfs/openssl-1.1.patch @@ -0,0 +1,26 @@ +$NetBSD: patch-libgnomevfs_gnome-vfs-ssl.c,v 1.1 2018/02/16 13:18:26 wiz Exp $ + +struct SSL is opaque in openssl-1.1; and the SSL_free() man page +says that one should not free members of it manually (in both +the openssl-1.0 and openssl-1.1 man pages). + +--- libgnomevfs/gnome-vfs-ssl.c.orig 2010-02-09 12:16:14.000000000 +0000 ++++ libgnomevfs/gnome-vfs-ssl.c +@@ -400,9 +400,6 @@ gnome_vfs_ssl_create_from_fd (GnomeVFSSS + } + } + +- if (ssl->private->ssl->ctx) +- SSL_CTX_free (ssl->private->ssl->ctx); +- + SSL_free (ssl->private->ssl); + g_free (ssl->private); + g_free (ssl); +@@ -705,7 +702,6 @@ gnome_vfs_ssl_destroy (GnomeVFSSSL *ssl, + } + } + +- SSL_CTX_free (ssl->private->ssl->ctx); + SSL_free (ssl->private->ssl); + close (ssl->private->sockfd); + if (ssl->private->timeout) |