!363 Fix the judgement of digests count

From: @HuaxinLuGitee 
Reviewed-by: @xujing99 
Signed-off-by: @xujing99
This commit is contained in:
openeuler-ci-bot 2024-08-19 06:27:26 +00:00 committed by Gitee
commit f31989ce03
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 2 deletions

View File

@ -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)

View File

@ -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 <luhuaxin1@huawei.com> - 4.18.2-10
- Fix the judgement of digests count
* Fri Aug 16 2024 luhuaxin <luhuaxin1@huawei.com> - 4.18.2-9
- IMA digest list plugin support signature within IMA header