nss: NSS should work after reiniting libpurple. Closes #11524.

Thu, 01 Apr 2010 06:51:04 +0000

author
Paul Aurich <darkrain42@pidgin.im>
date
Thu, 01 Apr 2010 06:51:04 +0000
changeset 29943
8bd0701c9bbd
parent 29942
4c74f05635c5
child 29944
195cf568207b
child 29945
2513f9f8b101

nss: NSS should work after reiniting libpurple. Closes #11524.

ChangeLog file | annotate | diff | comparison | revisions
libpurple/plugins/ssl/ssl-nss.c file | annotate | diff | comparison | revisions
--- a/ChangeLog	Thu Apr 01 05:26:44 2010 +0000
+++ b/ChangeLog	Thu Apr 01 06:51:04 2010 +0000
@@ -9,6 +9,8 @@
 	* Fix two related crashes in the GnuTLS and NSS plugins when they
 	  suffer internal errors immediately upon attempting to establish
 	  an SSL connection.
+	* Fix NSS to work when reinitialized after being used.  (Thanks to
+	  Ludovico Cavedon for the testcase)
 	* Added support for PURPLE_GNUTLS_PRIORITIES environment variable.
 	  This can be used to specify GnuTLS priorities on a per-host basis.
 	  The format is "host=priority;host2=priority;...".  The default
--- a/libpurple/plugins/ssl/ssl-nss.c	Thu Apr 01 05:26:44 2010 +0000
+++ b/libpurple/plugins/ssl/ssl-nss.c	Thu Apr 01 06:51:04 2010 +0000
@@ -235,6 +235,7 @@
 static void
 ssl_nss_uninit(void)
 {
+	NSS_Shutdown();
 	PR_Cleanup();
 
 	_nss_methods = NULL;

mercurial