net-libs/ccnet: initial import
This commit is contained in:
16
packages/net-libs/ccnet/files/fix-libressl-build.patch
Normal file
16
packages/net-libs/ccnet/files/fix-libressl-build.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
Source: Me
|
||||
Reason: fix build with libressl
|
||||
Upstream: No, notified https://github.com/haiwen/ccnet/issues/122
|
||||
|
||||
--- a/lib/rsa.c 2017-05-28 03:23:49.499297000 +0200
|
||||
+++ b/lib/rsa.c 2017-05-28 03:34:19.755854000 +0200
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user