svn commit: r467906 - head/security/trousers/files
Bernard Spil
brnrd at FreeBSD.org
Sat Apr 21 20:38:39 UTC 2018
Author: brnrd
Date: Sat Apr 21 20:38:38 2018
New Revision: 467906
URL: https://svnweb.freebsd.org/changeset/ports/467906
Log:
security/trousers: Fix build with LibreSSl 2.7
- LibreSSL 2.7 adds OpenSSL 1.1 API
PR: 227169
Approved by: maintainer time-out
Modified:
head/security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c
Modified: head/security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c
==============================================================================
--- head/security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c Sat Apr 21 20:36:06 2018 (r467905)
+++ head/security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c Sat Apr 21 20:38:38 2018 (r467906)
@@ -5,7 +5,7 @@
#endif
-#if OPENSSL_VERSION_NUMBER < 0x10100001L
-+#if OPENSSL_VERSION_NUMBER < 0x10100001L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100001L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
static int
RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
{
More information about the svn-ports-head
mailing list