summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <[email protected]>2017-07-11 16:58:54 +0200
committerRolf Eike Beer <[email protected]>2017-07-11 17:26:14 +0200
commit354b680e5b933928fe85b2fc4ceee752f9240dbd (patch)
treed8d664355bbccdf44e910f96d027901514055e3c
parent3616d28a07932f22803e8661ba914d7d1c9e8dca (diff)
do not always warn when creating a revocation certificate
BUG:372063 FIXED-IN:17.08.0
-rw-r--r--transactions/kgpggeneraterevoke.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/transactions/kgpggeneraterevoke.cpp b/transactions/kgpggeneraterevoke.cpp
index 26b93b0..8a5c3d1 100644
--- a/transactions/kgpggeneraterevoke.cpp
+++ b/transactions/kgpggeneraterevoke.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010,2012,2013 Rolf Eike Beer <[email protected]>
+ * Copyright (C) 2010,2012,2013,2017 Rolf Eike Beer <[email protected]>
*/
/***************************************************************************
@@ -45,7 +45,7 @@ KGpgGenerateRevoke::~KGpgGenerateRevoke()
bool
KGpgGenerateRevoke::preStart()
{
- setSuccess(TS_MSG_SEQUENCE);
+ setSuccess(TS_OK);
setDescription(i18n("Generating Revocation Certificate for key %1", m_keyid));
@@ -107,8 +107,6 @@ KGpgGenerateRevoke::finish()
bool
KGpgGenerateRevoke::passphraseReceived()
{
- setSuccess(TS_OK);
-
return false;
}