Mercurial > pidgin
diff libpurple/sslconn.c @ 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 | 3273fa6a52a8 |
children | d5ecaf5bce93 c3405700c2fe |
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