aboutsummaryrefslogtreecommitdiff
path: root/deskutils/kdepim3/files/patch-kmail_kresolver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/kdepim3/files/patch-kmail_kresolver.cpp')
-rw-r--r--deskutils/kdepim3/files/patch-kmail_kresolver.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/deskutils/kdepim3/files/patch-kmail_kresolver.cpp b/deskutils/kdepim3/files/patch-kmail_kresolver.cpp
new file mode 100644
index 000000000000..643803eeda02
--- /dev/null
+++ b/deskutils/kdepim3/files/patch-kmail_kresolver.cpp
@@ -0,0 +1,14 @@
+--- kmail/keyresolver.cpp.orig Thu Nov 10 05:39:42 2005
++++ kmail/keyresolver.cpp Thu Nov 10 05:48:08 2005
+@@ -1023,8 +1023,10 @@
+ CryptoMessageFormat commonFormat = AutoFormat;
+
+ for ( unsigned int i = 0 ; i < numConcreteCryptoMessageFormats ; ++i ) {
++ if ( !(mCryptoMessageFormats & concreteCryptoMessageFormats[i]) )
++ continue; // skip
+ if ( signingKeysFor( concreteCryptoMessageFormats[i] ).empty() )
+- continue; // skip;
++ continue; // skip
+ if ( count.numOf( concreteCryptoMessageFormats[i] ) == count.numTotal() ) {
+ commonFormat = concreteCryptoMessageFormats[i];
+ break;