allow a specified algo different from the list file one
This commit is contained in:
parent
630be72568
commit
453b0d7b68
26
allow-a-specified-algo-different-from-the-list-file.patch
Normal file
26
allow-a-specified-algo-different-from-the-list-file.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 1b464cfc50f50439f95f8c38bcbcc26253bd8036 Mon Sep 17 00:00:00 2001
|
||||
From: Zhou Shuiqing <zhoushuiqing2@huawei.com>
|
||||
Date: Tue, 22 Aug 2023 10:24:23 +0800
|
||||
Subject: [PATCH] allow a specified algo different from the list file one
|
||||
|
||||
Signed-off-by: Zhou Shuiqing <zhoushuiqing2@huawei.com>
|
||||
---
|
||||
generators/compact.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/generators/compact.c b/generators/compact.c
|
||||
index 4107e44..b3df1fa 100644
|
||||
--- a/generators/compact.c
|
||||
+++ b/generators/compact.c
|
||||
@@ -441,7 +441,7 @@ int generator(int dirfd, int pos, struct list_head *head_in,
|
||||
NULL, 10)];
|
||||
}
|
||||
if (list_algo != algo)
|
||||
- continue;
|
||||
+ printf("list_algo != algo\n");
|
||||
}
|
||||
|
||||
paths[0] = &cur->path[2];
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
name: digest-list-tools
|
||||
Version: 0.3.95
|
||||
Release: 13
|
||||
Release: 14
|
||||
Summary: Utilities for IMA Digest Lists extension
|
||||
|
||||
Source0: https://gitee.com/openeuler/%{name}/repository/archive/v%{version}.tar.gz
|
||||
@ -18,6 +18,7 @@ Patch6: fix-file-resource-leakage-and-memory-leakage.patch
|
||||
Patch7: fix-error-exit-in-dracut-program.patch
|
||||
Patch8: fix-cap_struct-to-adapter-libcap-2.61.patch
|
||||
Patch9: fix-the-compilation-error.patch
|
||||
Patch10: allow-a-specified-algo-different-from-the-list-file.patch
|
||||
|
||||
Requires: libcap >= 2.61
|
||||
BuildRequires: autoconf automake libcurl-devel libtool rpm-devel dracut gzip
|
||||
@ -130,6 +131,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man1/%{name}.1.gz
|
||||
|
||||
%changelog
|
||||
* Tue Aug 22 2023 zhoushuiqing <zhoushuiqing2@huawei.com> - 0.3.95-14
|
||||
- Allowing a specified algorithm different from the list file.
|
||||
|
||||
* Wed Jul 26 2023 zhoushuiqing <zhoushuiqing2@huawei.com> - 0.3.95-13
|
||||
- fix the compilation error caused by the -Werror=address compilation option in gcc.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user