summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmqv.c')
-rw-r--r--rpmqv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmqv.c b/rpmqv.c
index e8335d63a..bf7e8287e 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -499,8 +499,8 @@ int main(int argc, char *argv[])
case MODE_RESIGN:
if (!poptPeekArg(optCon))
argerror(_("no arguments given"));
- ka->passPhrase = passPhrase;
- ec = rpmcliSign(ts, ka, (ARGV_const_t) poptGetArgs(optCon));
+ ec = rpmcliSign((ARGV_const_t) poptGetArgs(optCon),
+ (qva->qva_mode == RPMSIGN_DEL_SIGNATURE), passPhrase);
break;
#endif /* IAM_RPMK */