chantra / rpms / rpm

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