public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/systemd] rawhide: Load libssl.so.4 rather than libssl.so.3
@ 2026-06-27 20:13
0 siblings, 0 replies; only message in thread
From: @ 2026-06-27 20:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/systemd
Branch : rawhide
Commit : 9c87a3f8ad4b172ee08640aee5e125dd60d46891
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Date : 2026-06-27T22:10:56+02:00
Stats : +39/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/systemd/c/9c87a3f8ad4b172ee08640aee5e125dd60d46891?branch=rawhide
Log:
Load libssl.so.4 rather than libssl.so.3
---
diff --git a/7be9032019015ddd61985e6a6721d813d62dad0b.patch b/7be9032019015ddd61985e6a6721d813d62dad0b.patch
new file mode 100644
index 0000000..c1de086
--- /dev/null
+++ b/7be9032019015ddd61985e6a6721d813d62dad0b.patch
@@ -0,0 +1,38 @@
+From 7be9032019015ddd61985e6a6721d813d62dad0b Mon Sep 17 00:00:00 2001
+From: Luca Boccassi <luca.boccassi@gmail.com>
+Date: Sat, 20 Jun 2026 15:21:26 +0100
+Subject: [PATCH] ssl-util: prefer OpenSSL 4
+
+For the next version we can switch to preferring the new version
+---
+ src/shared/ssl-util.c | 3 +--
+ src/shared/ssl-util.h | 2 +-
+ 2 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/src/shared/ssl-util.c b/src/shared/ssl-util.c
+index 226120c70e66f..4b7ab2ec29f74 100644
+--- a/src/shared/ssl-util.c
++++ b/src/shared/ssl-util.c
+@@ -40,8 +40,7 @@ int dlopen_libssl(int log_level) {
+
+ LIBSSL_NOTE(SD_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED);
+
+- // FIXME: switch order to prefer libssl.so.4 in a future version once it has stabilized
+- FOREACH_STRING(soname, "libssl.so.3", "libssl.so.4") {
++ FOREACH_STRING(soname, "libssl.so.4", "libssl.so.3") {
+ r = dlopen_many_sym_or_warn(
+ &libssl_dl,
+ soname,
+diff --git a/src/shared/ssl-util.h b/src/shared/ssl-util.h
+index aa3b8308665ba..77b5c049f9e3a 100644
+--- a/src/shared/ssl-util.h
++++ b/src/shared/ssl-util.h
+@@ -12,7 +12,7 @@ int dlopen_libssl(int log_level);
+ SD_ELF_NOTE_DLOPEN("libssl", \
+ "Support for TLS", \
+ priority, \
+- "libssl.so.3", "libssl.so.4")
++ "libssl.so.4", "libssl.so.3")
+
+ #define DLOPEN_LIBSSL(log_level, priority) \
+ ({ \
diff --git a/systemd.spec b/systemd.spec
index fd85426..882fe63 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -149,6 +149,7 @@ Patch: 0002-machined-continue-without-resolve.hook-socket.patch
# We want to depend on and load openssl-4 in preference
Patch: https://github.com/systemd/systemd/pull/42668.patch
+Patch: https://github.com/systemd/systemd/commit/7be9032019015ddd61985e6a6721d813d62dad0b.patch
%endif
%ifarch %{ix86} x86_64 aarch64 riscv64
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-27 20:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 20:13 [rpms/systemd] rawhide: Load libssl.so.4 rather than libssl.so.3
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox