bug 402925 - tentative patch
HggdH <[email protected]> Mon, 09 Jul 2007 11:33:06 -0500
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <1183998787.12394.5.camel@xango> |
This resolves an issue with e-d-s not being set to use/accept high-end encryption suites. I am patching the libnss3 interface only. c.f. http://bugzilla.gnome.org/show_bug.cgi?id=402925 Regards, _______________________________________________ Evolution-patches mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-patches
bugzilla-402925.patch
(text/x-patch, 825 B)
diff -ur -x '\.svn' evolution-d-s-trunk/camel/camel.c evolution-d-s-trunk-new/camel/camel.c
--- evolution-d-s-trunk/camel/camel.c 2007-07-09 10:57:41.000000000 -0500
+++ evolution-d-s-trunk-new/camel/camel.c 2007-07-09 11:14:13.000000000 -0500
@@ -92,6 +92,7 @@
#ifdef HAVE_NSS
if (nss_init) {
char *nss_configdir;
+ PRUint16 indx;
PR_Init (PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 10);
@@ -110,6 +111,11 @@
}
NSS_SetDomesticPolicy ();
+ /* we must enable all ciphersuites */
+ for (indx = 0; indx < SSL_NumImplementedCiphers; indx++) {
+ if (!SSL_IS_SSL2_CIPHER(SSL_ImplementedCiphers[indx]))
+ SSL_CipherPrefSetDefault (SSL_ImplementedCiphers[indx], PR_TRUE);
+ }
SSL_OptionSetDefault (SSL_ENABLE_SSL2, PR_TRUE);
SSL_OptionSetDefault (SSL_ENABLE_SSL3, PR_TRUE);
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGkmNCfbrzscpaDCARApynAKCgjcz8wA+c1m79Co9hgRBasWWB8wCcDEgk W+R2K/OVZElRfxWNQF4+Jek= =fOA1 -----END PGP SIGNATURE-----