From: Luca Boccassi Date: Sat, 20 Jun 2026 14:21:26 +0000 (+0100) Subject: ssl-util: prefer OpenSSL 4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7be9032019015ddd61985e6a6721d813d62dad0b;p=thirdparty%2Fsystemd.git ssl-util: prefer OpenSSL 4 For the next version we can switch to preferring the new version --- diff --git a/src/shared/ssl-util.c b/src/shared/ssl-util.c index 226120c70e6..4b7ab2ec29f 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 aa3b8308665..77b5c049f9e 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) \ ({ \