aboutsummaryrefslogtreecommitdiffstats
path: root/context.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-09-12 11:24:46 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-09-12 11:24:46 +0000
commit669fe9469f19fca6953518526dde413360ba1ded (patch)
tree39aa47627f3c6a942f6a0c21250b59e675d20698 /context.cpp
parentupdate TODO (diff)
downloadgpg4usb-669fe9469f19fca6953518526dde413360ba1ded.tar.gz
gpg4usb-669fe9469f19fca6953518526dde413360ba1ded.zip
fix for undefined int privkey
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@159 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'context.cpp')
-rw-r--r--context.cpp2
1 files changed, 2 insertions, 0 deletions
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++;
}