diff --git a/core-connection-print-SSL-warnings-after-init.patch b/core-connection-print-SSL-warnings-after-init.patch new file mode 100644 index 0000000..f1368dd --- /dev/null +++ b/core-connection-print-SSL-warnings-after-init.patch @@ -0,0 +1,37 @@ +From 60ed73552ffdb499dddf06c119be9437da7f9261 Mon Sep 17 00:00:00 2001 +From: akallabeth +Date: Sun, 29 Dec 2024 10:22:56 +0100 +Subject: [PATCH] [core,connection] print SSL warnings after init + +--- + libfreerdp/core/connection.c | 1 + + libfreerdp/core/freerdp.c | 1 - + 2 files changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libfreerdp/core/connection.c b/libfreerdp/core/connection.c +index 979ccdf60..001b56944 100644 +--- a/libfreerdp/core/connection.c ++++ b/libfreerdp/core/connection.c +@@ -319,6 +319,7 @@ BOOL rdp_client_connect(rdpRdp* rdp) + flags |= WINPR_SSL_INIT_ENABLE_FIPS; + + winpr_InitializeSSL(flags); ++ rdp_log_build_warnings(rdp); + + /* FIPS Mode forces the following and overrides the following(by happening later */ + /* in the command line processing): */ +diff --git a/libfreerdp/core/freerdp.c b/libfreerdp/core/freerdp.c +index 94dad20a0..715da31d9 100644 +--- a/libfreerdp/core/freerdp.c ++++ b/libfreerdp/core/freerdp.c +@@ -802,7 +802,6 @@ BOOL freerdp_context_new_ex(freerdp* instance, rdpSettings* settings) + if (!rdp) + goto fail; + +- rdp_log_build_warnings(rdp); + context->rdp = rdp; + context->pubSub = rdp->pubSub; + +-- +2.51.1 + diff --git a/freerdp.spec b/freerdp.spec index 95b9a6a..e31dd00 100644 --- a/freerdp.spec +++ b/freerdp.spec @@ -30,7 +30,7 @@ Name: freerdp Epoch: 2 Version: 3.10.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Free implementation of the Remote Desktop Protocol (RDP) # The effective license is Apache-2.0 but: @@ -56,6 +56,9 @@ Patch2: Use-default-threadpool.patch Patch3: Default-minimum-thread-count.patch Patch4: Limit-minimum-threadpool-size.patch +# https://issues.redhat.com/browse/RHEL-73724 +Patch: core-connection-print-SSL-warnings-after-init.patch + BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: alsa-lib-devel @@ -227,6 +230,7 @@ find . -name "*.c" -exec chmod 664 {} \; -DWITH_TIMEZONE_COMPILED=OFF \ -DWITH_TIMEZONE_FROM_FILE=ON \ -DWITH_URIPARSER=%{?_with_uriparser:ON}%{?!_with_uriparser:OFF} \ + -DWITH_VERBOSE_WINPR_ASSERT=OFF \ -DWITH_VIDEO_FFMPEG=%{?_with_ffmpeg:ON}%{?!_with_ffmpeg:OFF} \ -DWITH_WAYLAND=ON \ -DWITH_WEBVIEW=%{?_with_webview:ON}%{?!_with_webview:OFF} \ @@ -378,6 +382,9 @@ find %{buildroot} -name "*.a" -delete %{_libdir}/pkgconfig/winpr-tools3.pc %changelog +* Tue Dec 16 2025 Ondrej Holy - 2:3.10.3-6 +- Fix broken SSL checks and disable runtime checks (RHEL-73724) + * Tue Sep 30 2025 Marek Kasik - 2:3.10.3-5 - Silence abidiff - Resolves: RHEL-86251