diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2018-10-20 05:40:29 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2018-10-20 05:40:29 +0000 |
commit | 1301ad9bd33bf5d3e41bb73e214a68487d840bc0 (patch) | |
tree | 9d1ade85a0495ef2f5c758c5f9b691e43e4a788b /devel | |
parent | 0adbf447a156079ebfe81ad4c17eeeed32505aa9 (diff) | |
download | ports-1301ad9bd33bf5d3e41bb73e214a68487d840bc0.tar.gz ports-1301ad9bd33bf5d3e41bb73e214a68487d840bc0.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp b/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp new file mode 100644 index 000000000000..17ccf87949eb --- /dev/null +++ b/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp @@ -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 + } |