From 18687651111a77e3107610babd5d049336b490ea Mon Sep 17 00:00:00 2001 From: Huaxin Lu Date: Fri, 16 Aug 2024 11:57:19 +0800 Subject: [PATCH] Fix the judgement of digests count --- Add-digest-list-plugin.patch | 2 +- rpm.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Add-digest-list-plugin.patch b/Add-digest-list-plugin.patch index 5ae4b45..b2fd7ac 100644 --- a/Add-digest-list-plugin.patch +++ b/Add-digest-list-plugin.patch @@ -137,7 +137,7 @@ index 0000000..715b8d6 + } + + close(fd); -+ return (first == '\0'); ++ return (first == '0'); +} + +static int upload_digest_list(char *path, int type, int digest_list_signed) diff --git a/rpm.spec b/rpm.spec index 831ed89..5823899 100644 --- a/rpm.spec +++ b/rpm.spec @@ -1,6 +1,6 @@ Name: rpm Version: 4.18.2 -Release: 9 +Release: 10 Summary: RPM Package Manager License: GPLv2+ URL: http://www.rpm.org/ @@ -337,6 +337,9 @@ make clean %exclude %{_mandir}/man8/rpmspec.8.gz %changelog +* Mon Aug 19 2024 luhuaxin - 4.18.2-10 +- Fix the judgement of digests count + * Fri Aug 16 2024 luhuaxin - 4.18.2-9 - IMA digest list plugin support signature within IMA header