Projects
Extra
mongodb
fix-ftbfs-with-openssl-1.1.1.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-ftbfs-with-openssl-1.1.1.patch of Package mongodb
From fb645a7072959db77be0aa5f792ef5a6038ffb0e Mon Sep 17 00:00:00 2001 From: Apollon Oikonomopoulos <apoikos@debian.org> Date: Mon, 3 Dec 2018 21:18:52 +0200 Subject: [PATCH] Do not attempt to track TLS1.3 Commit 5abce331 introduced support for tracking TLS versions, however the cherry-picked changes rely on TLS1.3 support which was not backported from master. This causes build failures on systems with OpenSSL 1.1.1, where TLS1_3_VERSION is defined but mongo::TLSVersionCounts lacks the tls13 field. Fix this by disabling TLS1.3 tracking altogether. --- src/mongo/util/net/ssl_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -ur mongodb-src-r3.6.8_orig/src/mongo/util/net/ssl_manager.cpp mongodb-src-r3.6.8/src/mongo/util/net/ssl_manager.cpp --- mongodb-src-r3.6.8_orig/src/mongo/util/net/ssl_manager.cpp 2018-09-10 17:44:07.000000000 +0200 +++ mongodb-src-r3.6.8/src/mongo/util/net/ssl_manager.cpp 2020-01-09 23:58:23.559086038 +0100 @@ -1494,7 +1494,7 @@ case TLS1_2_VERSION: counts.tls12.addAndFetch(1); break; -#ifdef TLS1_3_VERSION +#if 0 case TLS1_3_VERSION: counts.tls13.addAndFetch(1); break; -- 2.18.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.