svn commit: r466203 - head/devel/grpc/files

Vanilla I. Shu vanilla at FreeBSD.org
Mon Apr 2 07:11:41 UTC 2018


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) {


More information about the svn-ports-head mailing list