mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
ccnet: libressl fix
This commit is contained in:
parent
82b0dca31c
commit
b94c53a27c
1 changed files with 11 additions and 0 deletions
11
srcpkgs/ccnet/patches/libressl.patch
Normal file
11
srcpkgs/ccnet/patches/libressl.patch
Normal file
|
@ -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)
|
||||
{
|
Loading…
Add table
Reference in a new issue