[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/certmanager/lib/ui
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2004-09-23 9:50:53
Message-ID: 20040923095053.5A712990D () office ! kde ! org
[Download RAW message or body]

CVS commit by mutz: 

From KDE_3_3_BRANCH: Oops, don't ignore the absence of the ValidKeys flag when \
checking for key validity :o. Should fix Aegypten-II issue #237.


  M +2 -1      keyselectiondialog.cpp   1.25


--- kdepim/certmanager/lib/ui/keyselectiondialog.cpp  #1.24:1.25
@@ -82,5 +82,5 @@
 static bool checkKeyUsage( const GpgME::Key & key, unsigned int keyUsage ) {
 
-  if ( keyUsage & Kleo::KeySelectionDialog::ValidKeys )
+  if ( keyUsage & Kleo::KeySelectionDialog::ValidKeys ) {
     if ( key.isInvalid() )
       qDebug( "key is invalid - ignoring" );
@@ -95,4 +95,5 @@ static bool checkKeyUsage( const GpgME::
       return false;
     }
+  }
 
   if ( keyUsage & Kleo::KeySelectionDialog::EncryptionKeys &&


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic