diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:18:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:18:40 +0000 |
commit | 35ddc96e34bcd836ebee6e29c4300de16c34abc7 (patch) | |
tree | 3cc82d48be8ad30ddfa76d0ea796a1defe389d64 /debian/patches/25tls-ssl-compat-defines | |
parent | Adding upstream version 1.4.5. (diff) | |
download | irssi-35ddc96e34bcd836ebee6e29c4300de16c34abc7.tar.xz irssi-35ddc96e34bcd836ebee6e29c4300de16c34abc7.zip |
Adding debian version 1.4.5-1.debian/1.4.5-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/25tls-ssl-compat-defines')
-rw-r--r-- | debian/patches/25tls-ssl-compat-defines | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/debian/patches/25tls-ssl-compat-defines b/debian/patches/25tls-ssl-compat-defines new file mode 100644 index 0000000..5172467 --- /dev/null +++ b/debian/patches/25tls-ssl-compat-defines @@ -0,0 +1,44 @@ +Author: dx vim:ft=diff: +Description: backwards compatible ssl/tls rename defines + +--- + src/core/server-connect-rec.h | 12 ++++++++++++ + src/core/server-setup-rec.h | 12 ++++++++++++ + 2 files changed, 24 insertions(+) + +--- a/src/core/server-connect-rec.h 2022-06-28 22:14:27.113612025 -0400 ++++ b/src/core/server-connect-rec.h 2022-06-28 22:14:27.109612039 -0400 +@@ -47,3 +47,15 @@ + unsigned short last_failed_family; /* #641: if we failed to connect to ipv6, try ipv4 and vice versa */ + char *channels; + char *away_reason; ++ ++#ifndef __SSL_TLS_RENAME_COMPAT ++#define __SSL_TLS_RENAME_COMPAT ++#define use_ssl use_tls ++#define ssl_verify tls_verify ++#define ssl_cert tls_cert ++#define ssl_pkey tls_pkey ++#define ssl_pass tls_pass ++#define ssl_cafile tls_cafile ++#define ssl_capath tls_capath ++#define ssl_ciphers tls_ciphers ++#endif +--- a/src/core/server-setup-rec.h 2022-06-28 22:14:27.113612025 -0400 ++++ b/src/core/server-setup-rec.h 2022-06-28 22:14:27.109612039 -0400 +@@ -34,3 +34,15 @@ + unsigned int tls_verify:1; + + GHashTable *module_data; ++ ++#ifndef __SSL_TLS_RENAME_COMPAT ++#define __SSL_TLS_RENAME_COMPAT ++#define use_ssl use_tls ++#define ssl_verify tls_verify ++#define ssl_cert tls_cert ++#define ssl_pkey tls_pkey ++#define ssl_pass tls_pass ++#define ssl_cafile tls_cafile ++#define ssl_capath tls_capath ++#define ssl_ciphers tls_ciphers ++#endif |