diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-28 16:08:06 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-28 16:08:06 +0000 |
commit | 971699f978b8314edfa489d104080247fac3d0bb (patch) | |
tree | f9c40d8ed42d01063d6340e79bfbab5a634fdbb0 /gpgcontext.cpp | |
parent | show useful error message when no matching private key for decryption found (diff) | |
download | gpg4usb-971699f978b8314edfa489d104080247fac3d0bb.tar.gz gpg4usb-971699f978b8314edfa489d104080247fac3d0bb.zip |
return empty key if nothing found
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@710 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgcontext.cpp')
-rw-r--r-- | gpgcontext.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gpgcontext.cpp b/gpgcontext.cpp index 76ba5b3..e28ce41 100644 --- a/gpgcontext.cpp +++ b/gpgcontext.cpp @@ -752,6 +752,8 @@ GpgKey GpgContext::getKeyByFpr(QString fpr) { return key; } } + + return GpgKey(); } @@ -766,6 +768,8 @@ GpgKey GpgContext::getKeyById(QString id) { return key; } } + + return GpgKey(); } } |