Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
xmltooling.29631
0005-CPPXT-110-OpenSSL-1.1-removes-BIO_s_file_i...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-CPPXT-110-OpenSSL-1.1-removes-BIO_s_file_internal.patch of Package xmltooling.29631
From eff6f0bfd030db8b6afd03e751c82b2a290b7359 Mon Sep 17 00:00:00 2001 From: Rod Widdowson <rdw@steadingsoftware.com> Date: Sat, 16 Jul 2016 15:59:01 +0100 Subject: [PATCH 05/31] CPPXT-110 OpenSSL 1.1 removes BIO_s_file_internal https://issues.shibboleth.net/jira/browse/CPPXT-110 This is real in 0.9.8 and a #define in 1.0.0 through 1.0.2. Add the #define back in for >= 1.1 --- xmltooling/security/impl/FilesystemCredentialResolver.cpp | 1 + xmltooling/security/impl/OpenSSLSupport.h | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/xmltooling/security/impl/FilesystemCredentialResolver.cpp b/xmltooling/security/impl/FilesystemCredentialResolver.cpp index dfeccf7..f9a337d 100644 --- a/xmltooling/security/impl/FilesystemCredentialResolver.cpp +++ b/xmltooling/security/impl/FilesystemCredentialResolver.cpp @@ -34,6 +34,7 @@ #include "security/OpenSSLCredential.h" #include "security/SecurityHelper.h" #include "security/XSECCryptoX509CRL.h" +#include "security/impl/OpenSSLSupport.h" #include "util/NDC.h" #include "util/PathResolver.h" #include "util/Threads.h" diff --git a/xmltooling/security/impl/OpenSSLSupport.h b/xmltooling/security/impl/OpenSSLSupport.h index 7519091..2d267be 100644 --- a/xmltooling/security/impl/OpenSSLSupport.h +++ b/xmltooling/security/impl/OpenSSLSupport.h @@ -40,6 +40,16 @@ # define EVP_PKEY_id(_evp_) ((_evp_)->type) #endif +// BIO_s_file and BIO_s_file_internal +// in 0.9.8 #define BIO_s_file BIO_s_file_internal, uses both +// in 1.0.0 #define BIO_s_file_internal BIO_s_file, uses both +// in 1.0.1 #define BIO_s_file_internal BIO_s_file, uses both +// in 1.0.1 #define BIO_s_file_internal BIO_s_file, uses both +// in 1.1 no BIO_s_file_internal +#if (OPENSSL_VERSION_NUMBER >= 0x10000000L) +# define BIO_s_file_internal BIO_s_file +#endif + namespace xmltooling { // RAII for the now opaque X509_STORE_CTX class X509StoreCtxRAII -- 2.13.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor