teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone
Blob Blame History Raw
From 7784da14fe57df919df9dfdad30e436ffe6d3e28 Mon Sep 17 00:00:00 2001
From: Jes Sorensen <jsorensen@fb.com>
Date: Mon, 20 Apr 2020 11:22:15 -0400
Subject: [PATCH 15/33] rpmsign: RPMSIGN_FLAG_IMA is already set

There is no need to set RPMSIGN_FLAG_IMA since it was already set to
get here.

Signed-off-by: Jes Sorensen <jsorensen@fb.com>
---
 rpmsign.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/rpmsign.c b/rpmsign.c
index a74948ba8..e1d207da5 100644
--- a/rpmsign.c
+++ b/rpmsign.c
@@ -130,7 +130,6 @@ static int doSign(poptContext optCon, struct rpmSignArgs *sargs)
 	    free(fileSigningKeyPassword);
 	}
 
-	sargs->signflags |= RPMSIGN_FLAG_IMA;
 	free(key);
     }
 #endif
-- 
2.27.0