diff --git a/keyresolver.cpp b/keyresolver.cpp index 13bb9d33d..74ceae32f 100644 --- a/keyresolver.cpp +++ b/keyresolver.cpp @@ -122,7 +122,7 @@ static bool ValidTrustedOpenPGPEncryptionKey( const GpgME::Key & key ) { return false; const std::vector uids = key.userIDs(); for ( std::vector::const_iterator it = uids.begin() ; it != uids.end() ; ++it ) { - if ( !it->isRevoked() && it->validity() > GpgME::UserID::Marginal ) + if ( !it->isRevoked() && it->validity() >= GpgME::UserID::Marginal ) return true; #if 0 else