From 669fe9469f19fca6953518526dde413360ba1ded Mon Sep 17 00:00:00 2001 From: nils Date: Fri, 12 Sep 2008 11:24:46 +0000 Subject: fix for undefined int privkey git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@159 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- context.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/context.cpp b/context.cpp index 481ac62..47188fb 100644 --- a/context.cpp +++ b/context.cpp @@ -151,6 +151,8 @@ GpgKeyList Context::listKeys() while (it != keys.end()) { if (key->subkeys->keyid == it->id.toStdString()) it->privkey = 1; + else + it->privkey = 0; it++; } -- cgit v1.2.3