Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2018 07:11:40 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466203 - head/devel/grpc/files
Message-ID:  <201804020711.w327Be1A072287@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Apr  2 07:11:40 2018
New Revision: 466203
URL: https://svnweb.freebsd.org/changeset/ports/466203

Log:
  Fix build with libressl 2.7
  
  PR:		227187
  Submitted by:	brnrd@

Modified:
  head/devel/grpc/files/patch-src_core_lib_security_credentials_jwt_jwt__verifier.cc

Modified: head/devel/grpc/files/patch-src_core_lib_security_credentials_jwt_jwt__verifier.cc
==============================================================================
--- head/devel/grpc/files/patch-src_core_lib_security_credentials_jwt_jwt__verifier.cc	Mon Apr  2 06:45:46 2018	(r466202)
+++ head/devel/grpc/files/patch-src_core_lib_security_credentials_jwt_jwt__verifier.cc	Mon Apr  2 07:11:40 2018	(r466203)
@@ -5,7 +5,7 @@
  }
  
 -#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
  
  // Provide compatibility across OpenSSL 1.02 and 1.1.
  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?201804020711.w327Be1A072287>