Date: Sat, 21 Apr 2018 20:38:38 +0000 (UTC) From: Bernard Spil <brnrd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467906 - head/security/trousers/files Message-ID: <201804212038.w3LKcceQ060162@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804212038.w3LKcceQ060162>