alexk / rpms / rpm

Forked from rpms/rpm 2 years ago
Clone
45e748
From 7784da14fe57df919df9dfdad30e436ffe6d3e28 Mon Sep 17 00:00:00 2001
45e748
From: Jes Sorensen <jsorensen@fb.com>
45e748
Date: Mon, 20 Apr 2020 11:22:15 -0400
45e748
Subject: [PATCH 15/33] rpmsign: RPMSIGN_FLAG_IMA is already set
45e748
45e748
There is no need to set RPMSIGN_FLAG_IMA since it was already set to
45e748
get here.
45e748
45e748
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
45e748
---
45e748
 rpmsign.c | 1 -
45e748
 1 file changed, 1 deletion(-)
45e748
45e748
diff --git a/rpmsign.c b/rpmsign.c
45e748
index a74948ba8..e1d207da5 100644
45e748
--- a/rpmsign.c
45e748
+++ b/rpmsign.c
45e748
@@ -130,7 +130,6 @@ static int doSign(poptContext optCon, struct rpmSignArgs *sargs)
45e748
 	    free(fileSigningKeyPassword);
45e748
 	}
45e748
 
45e748
-	sargs->signflags |= RPMSIGN_FLAG_IMA;
45e748
 	free(key);
45e748
     }
45e748
 #endif
45e748
-- 
45e748
2.27.0
45e748