net-libs/ccnet: initial import

This commit is contained in:
2018-06-09 04:06:55 +02:00
parent 9bf56439a6
commit 30b0b9c3a8
2 changed files with 59 additions and 0 deletions

View 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)
{