ports/net-mgmt/ccnet-client/files/patch-lib_rsa.c
Richard Gallamore 26033ccd96 * Add patch to fix build for libressl
* Removed --enable-ldap, not a valid configure arg

PR:		219605
Submitted by:	Jens K. Loewe <mozilla@tuxproject.de>
Reviewed by:	lifanov (mentor)
Approved by:	lifanov (mentor)
Differential Revision:	https://reviews.freebsd.org/D11453
2017-07-06 02:21:23 +00:00

11 lines
322 B
C

--- lib/rsa.c.orig 2017-07-02 22:29:20 UTC
+++ lib/rsa.c
@@ -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)
{