Blame SOURCES/0013-RPMTAG_PAYLOADDIGESTALT-is-not-backported-here-don-t.patch
|
|
45afda |
From 5e11a52627882efe6a15622ec256835a821e3eff Mon Sep 17 00:00:00 2001
|
|
|
45afda |
From: Igor Kanyuka <ikanyuka@fb.com>
|
|
|
45afda |
Date: Thu, 29 Apr 2021 18:24:48 -0700
|
|
|
45afda |
Subject: [PATCH 13/33] RPMTAG_PAYLOADDIGESTALT is not backported here, don't
|
|
|
45afda |
check if it's in the header
|
|
|
45afda |
|
|
|
45afda |
---
|
|
|
45afda |
sign/rpmgensig.c | 3 +--
|
|
|
45afda |
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
45afda |
|
|
|
45afda |
diff --git a/sign/rpmgensig.c b/sign/rpmgensig.c
|
|
|
45afda |
index 4903a4de1..a6e37e71b 100644
|
|
|
45afda |
--- a/sign/rpmgensig.c
|
|
|
45afda |
+++ b/sign/rpmgensig.c
|
|
|
45afda |
@@ -532,8 +532,7 @@ static int rpmSign(const char *rpm, int deleting, int flags)
|
|
|
45afda |
}
|
|
|
45afda |
|
|
|
45afda |
/* Always add V3 signatures if no payload digest present */
|
|
|
45afda |
- if (!(headerIsEntry(h, RPMTAG_PAYLOADDIGEST) ||
|
|
|
45afda |
- headerIsEntry(h, RPMTAG_PAYLOADDIGESTALT))) {
|
|
|
45afda |
+ if (!headerIsEntry(h, RPMTAG_PAYLOADDIGEST)) {
|
|
|
45afda |
flags |= RPMSIGN_FLAG_RPMV3;
|
|
|
45afda |
}
|
|
|
45afda |
|
|
|
45afda |
--
|
|
|
45afda |
2.27.0
|
|
|
45afda |
|