changeset 19216:ab7cd6c95b2f

- Force full initialization of SSL system at startup
author William Ehlhardt <williamehlhardt@gmail.com>
date Mon, 13 Aug 2007 20:07:57 +0000
parents ab91044a914e
children 5cde8ad06204
files libpurple/sslconn.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/sslconn.c	Mon Aug 13 19:38:49 2007 +0000
+++ b/libpurple/sslconn.c	Mon Aug 13 20:07:57 2007 +0000
@@ -294,8 +294,10 @@
 void
 purple_ssl_init(void)
 {
-	/* This doesn't do anything at the moment. All the actual init work
-	 * is handled by purple_ssl_is_supported upon demand. */
+	/* Although purple_ssl_is_supported will do the initialization on
+	   command, SSL plugins tend to register CertificateSchemes as well
+	   as providing SSL ops. */
+	g_assert(ssl_init());
 }
 
 void