mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user