From 292e3c830032a4634f04c3095d6bfa272b65d712 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 21 Jan 2012 13:17:48 -0600 Subject: Fix a number of build warnings --- certmanager/lib/ui/keyselectiondialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'certmanager/lib/ui') 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; -- cgit v1.2.1