/pidgin/main: 681554f27e84: As of NSS 3.15.2, NSS_SetDomesticPol...
Daniel Atallah
datallah at pidgin.im
Fri Oct 31 18:16:58 EDT 2014
Changeset: 681554f27e8422558c84473c36a54f099334cdf1
Author: Daniel Atallah <datallah at pidgin.im>
Date: 2014-10-31 18:02 -0400
Branch: release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/681554f27e84
Description:
As of NSS 3.15.2, NSS_SetDomesticPolicy() doesn't do anything, so don't use it.
diffstat:
libpurple/plugins/ssl/ssl-nss.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (13 lines):
diff --git a/libpurple/plugins/ssl/ssl-nss.c b/libpurple/plugins/ssl/ssl-nss.c
--- a/libpurple/plugins/ssl/ssl-nss.c
+++ b/libpurple/plugins/ssl/ssl-nss.c
@@ -148,7 +148,9 @@ ssl_nss_init_nss(void)
PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1);
NSS_NoDB_Init(".");
+#if (NSS_VMAJOR == 3 && (NSS_VMINOR < 15 || (NSS_VMINOR == 15 && NSS_VMICRO < 2)))
NSS_SetDomesticPolicy();
+#endif /* NSS < 3.15.2 */
SSL_CipherPrefSetDefault(TLS_DHE_RSA_WITH_AES_256_CBC_SHA, 1);
SSL_CipherPrefSetDefault(TLS_DHE_DSS_WITH_AES_256_CBC_SHA, 1);
More information about the Commits
mailing list