Add patch for kde-base/kmail-4.3.0 that removes the requirement for trusted keys...
[overlay.git] / kde-base / kmail / files / remove-trust-requirement-for-encryption.patch
1 diff -ur kmail-4.3.0-orig/kmail/keyresolver.cpp kmail-4.3.0/kmail/keyresolver.cpp
2 --- kmail-4.3.0-orig/kmail/keyresolver.cpp      2009-06-17 22:07:58.000000000 +0200
3 +++ kmail-4.3.0/kmail/keyresolver.cpp   2009-09-04 17:19:43.000000000 +0200
4 @@ -122,7 +122,7 @@
5          return false;
6    const std::vector<GpgME::UserID> uids = key.userIDs();
7    for ( std::vector<GpgME::UserID>::const_iterator it = uids.begin() ; it != uids.end() ; ++it ) {
8 -    if ( !it->isRevoked() && it->validity() >= GpgME::UserID::Marginal )
9 +    if ( !it->isRevoked() )
10        return true;
11  #if 0
12      else