From b94c53a27cafe3f720d93246ecdd7e909df60069 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sat, 6 May 2017 19:33:14 +0000 Subject: [PATCH] ccnet: libressl fix --- srcpkgs/ccnet/patches/libressl.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/ccnet/patches/libressl.patch diff --git a/srcpkgs/ccnet/patches/libressl.patch b/srcpkgs/ccnet/patches/libressl.patch new file mode 100644 index 00000000000..ce7cd354603 --- /dev/null +++ b/srcpkgs/ccnet/patches/libressl.patch @@ -0,0 +1,11 @@ +--- lib/rsa.c.orig 2017-05-06 19:32:15.000000000 +0000 ++++ lib/rsa.c 2017-05-06 19:32:23.971214589 +0000 +@@ -13,7 +13,7 @@ + + /* Forward compatibility functions if libssl < 1.1.0. */ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + + int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + {