summaryrefslogtreecommitdiffstats
path: root/src/daemon/MiddleWare.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-09-22 01:06:21 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-09-22 01:06:21 +0200
commit5cba622bac75cd90a846a028e47245a16043da17 (patch)
tree10ea0748f6f3a980996a635c755ce330d5665394 /src/daemon/MiddleWare.cpp
parent2b933dd53e870e65d4baefe567f2b2ab1d3854d8 (diff)
eliminate LoadOpenGPGPublicKey wrapper
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon/MiddleWare.cpp')
-rw-r--r--src/daemon/MiddleWare.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/daemon/MiddleWare.cpp b/src/daemon/MiddleWare.cpp
index 94b38929..73959102 100644
--- a/src/daemon/MiddleWare.cpp
+++ b/src/daemon/MiddleWare.cpp
@@ -19,7 +19,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <fnmatch.h>
-#include <algorithm>
+#include <algorithm> /* for std::find */
#include "abrtlib.h"
#include "Daemon.h"
#include "Settings.h"
@@ -638,12 +638,6 @@ static bool is_debug_dump_saved(long uid, const char *debug_dump_dir)
return found;
}
-void LoadOpenGPGPublicKey(const char* key)
-{
- VERB1 log("Loading GPG key '%s'", key);
- rpm_load_gpgkey(key);
-}
-
/**
* Returns the first full path argument in the command line or NULL.
* Skips options are in form "-XXX".