diff options
Diffstat (limited to 'x11-plugins/pidgin-telegram/files/pidgin-telegram-1.3.1-libressl.patch')
-rw-r--r-- | x11-plugins/pidgin-telegram/files/pidgin-telegram-1.3.1-libressl.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/x11-plugins/pidgin-telegram/files/pidgin-telegram-1.3.1-libressl.patch b/x11-plugins/pidgin-telegram/files/pidgin-telegram-1.3.1-libressl.patch new file mode 100644 index 000000000000..ca1ffee7cc4b --- /dev/null +++ b/x11-plugins/pidgin-telegram/files/pidgin-telegram-1.3.1-libressl.patch @@ -0,0 +1,25 @@ +From 6ab594162a228bb5d79ba274859d4d2ab0eb7041 Mon Sep 17 00:00:00 2001 +From: Stefan Strogin <stefan.strogin@gmail.com> +Date: Sat, 10 Nov 2018 10:15:19 +0200 +Subject: [PATCH] Fix LibreSSL <2.7.0 support + +--- + tgl/crypto/rsa_pem_openssl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tgl/crypto/rsa_pem_openssl.c b/tgl/crypto/rsa_pem_openssl.c +index fe5cd9c..be657b3 100644 +--- a/tgl/crypto/rsa_pem_openssl.c ++++ b/tgl/crypto/rsa_pem_openssl.c +@@ -31,7 +31,7 @@ + #include "meta.h" + #include "rsa_pem.h" + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER < 0x2070000fL)) + + int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + { +-- +2.19.1 + |