Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2018 08:37:14 +0000 (UTC)
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481884 - head/devel/xmltooling/files
Message-ID:  <201810120837.w9C8bEP6083525@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: girgen
Date: Fri Oct 12 08:37:14 2018
New Revision: 481884
URL: https://svnweb.freebsd.org/changeset/ports/481884

Log:
  Fix build problem with OpenSSL-1.1.1

Added:
  head/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp   (contents, props changed)

Added: head/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp	Fri Oct 12 08:37:14 2018	(r481884)
@@ -0,0 +1,28 @@
+--- xmltooling/security/impl/OpenSSLSupport.cpp.orig	2018-07-10 01:00:14 UTC
++++ xmltooling/security/impl/OpenSSLSupport.cpp
+@@ -91,6 +91,7 @@ const BIGNUM *xmltooling::DSA_get0_privk
+ #endif
+ }
+ 
++#if (OPENSSL_VERSION_NUMBER < 0x1010100fL)
+ const BIGNUM *xmltooling::RSA_get0_n(const RSA *rsa)
+ {
+ #if (OPENSSL_VERSION_NUMBER < 0x10100000L)
+@@ -123,3 +124,4 @@ const BIGNUM *xmltooling::RSA_get0_d(con
+     return result;
+ #endif
+ }
++#endif
+--- xmltooling/security/impl/OpenSSLSupport.h.bak	2018-10-12 08:58:16.782132000 +0200
++++ xmltooling/security/impl/OpenSSLSupport.h	2018-10-12 08:59:14.767210000 +0200
+@@ -75,8 +75,9 @@
+     const BIGNUM *DSA_get0_pubkey(const DSA *dsa);
+     const BIGNUM *DSA_get0_privkey(const DSA *dsa);
+ 
++#if (OPENSSL_VERSION_NUMBER < 0x1010100fL)
+     const BIGNUM *RSA_get0_n(const RSA *rsa);
+     const BIGNUM *RSA_get0_d(const RSA *rsa);
+     const BIGNUM *RSA_get0_e(const RSA *rsa);
+-
++#endif
+ }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810120837.w9C8bEP6083525>