diff options
author | Timothy Pearson <[email protected]> | 2012-01-21 13:17:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-01-21 13:17:48 -0600 |
commit | 292e3c830032a4634f04c3095d6bfa272b65d712 (patch) | |
tree | 37d103a34c4aebbbc76243461eb29b73152a916c /certmanager/lib/ui | |
parent | dc69027b0e7092ad69d8e58f1ee3aff22fd4d9c6 (diff) | |
download | tdepim-292e3c830032a4634f04c3095d6bfa272b65d712.tar.gz tdepim-292e3c830032a4634f04c3095d6bfa272b65d712.zip |
Fix a number of build warnings
Diffstat (limited to 'certmanager/lib/ui')
-rw-r--r-- | certmanager/lib/ui/keyselectiondialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/certmanager/lib/ui/keyselectiondialog.cpp b/certmanager/lib/ui/keyselectiondialog.cpp index d88d80b3f..640f2e967 100644 --- a/certmanager/lib/ui/keyselectiondialog.cpp +++ b/certmanager/lib/ui/keyselectiondialog.cpp @@ -86,13 +86,14 @@ static bool checkKeyUsage( const GpgME::Key & key, unsigned int keyUsage ) { if ( keyUsage & Kleo::KeySelectionDialog::ValidKeys ) { - if ( key.isInvalid() ) + if ( key.isInvalid() ) { if ( key.keyListMode() & GpgME::Context::Validate ) { kdDebug() << "key is invalid" << endl; return false; } else { kdDebug() << "key is invalid - ignoring" << endl; } + } if ( key.isExpired() ) { kdDebug() << "key is expired" << endl; return false; |