# HG changeset patch # User Christian Hammond # Date 1064849561 0 # Node ID cd8a9907c779342bbfb45fa98822fa5816821e3e # Parent 15733f9cfe69c907090f32a510f411752fd90147 [gaim-migrate @ 7581] SSL is now auto-loaded from sslconn.c, removing the requirement for a prpl to set a dependency on it. committer: Tailor Script diff -r 15733f9cfe69 -r cd8a9907c779 src/sslconn.c --- a/src/sslconn.c Mon Sep 29 15:30:17 2003 +0000 +++ b/src/sslconn.c Mon Sep 29 15:32:41 2003 +0000 @@ -31,12 +31,18 @@ static gboolean ssl_init(void) { + GaimPlugin *plugin; GaimSslOps *ops = gaim_ssl_get_ops(); gboolean success = FALSE; if (_ssl_initialized) return FALSE; + plugin = gaim_plugins_find_with_id("ssl"); + + if (plugin != NULL && !gaim_plugin_is_loaded(plugin)) + gaim_plugin_load(plugin); + if (ops != NULL && ops->init != NULL) success = ops->init();