@pmatilai commented on this pull request.


> @@ -396,6 +397,16 @@ static void deleteSigs(Header sigh)
     headerDel(sigh, RPMSIGTAG_PGP5);
 }
 
+static void deleteFileSigs(Header sigh)
+{
+    headerDel(sigh, RPMSIGTAG_FILESIGNATURELENGTH);
+    headerDel(sigh, RPMSIGTAG_FILESIGNATURES);
+    headerDel(sigh, RPMTAG_VERITYSIGNATURELENGTH);
+    headerDel(sigh, RPMTAG_VERITYSIGNATURES);
+    headerDel(sigh, RPMTAG_VERITYSIGNATUREALGO);
+    headerDel(sigh, RPMTAG_VERITYSIGNATUREBLKSZ);

This deals with a signature header, so RPMSIGTAG_* values should be used (even 
if they actually match the RPMTAG_* counterparts)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1203#pullrequestreview-418303191
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to