From c987c9feec42910b20ffdee9b72dddbf5a6978ca Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Tue, 21 Aug 2018 22:33:59 +0200 Subject: [PATCH] net-misc/rdesktop: support libressl in openssl 1.1 patch This patch uses openssl-1.1 specific functions when openssl version is new enough. This fails for libressl (reporting itself as higher version), the patch is updated to check for libressl version number too Package-Manager: Portage-2.3.48, Repoman-2.3.10 --- net-misc/rdesktop/files/rdesktop-1.8.3-openssl-1.1.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/rdesktop/files/rdesktop-1.8.3-openssl-1.1.patch b/net-misc/rdesktop/files/rdesktop-1.8.3-openssl-1.1.patch index bea047cce9a9..c74bd48c5aa0 100644 --- a/net-misc/rdesktop/files/rdesktop-1.8.3-openssl-1.1.patch +++ b/net-misc/rdesktop/files/rdesktop-1.8.3-openssl-1.1.patch @@ -94,7 +94,7 @@ index 48751255..032e9b9e 100644 + BIGNUM *e = NULL; + BIGNUM *n = NULL; + -+#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) + e = rkey->e; + n = rkey->n; +#else -- 2.26.2