comparison libpurple/sslconn.c @ 19506:c3405700c2fe

- Change assert on ssl init failure to a mere warning
author William Ehlhardt <williamehlhardt@gmail.com>
date Tue, 28 Aug 2007 03:31:38 +0000
parents ab7cd6c95b2f
children 7086c311867a
comparison
equal deleted inserted replaced
19501:23f4d2ded500 19506:c3405700c2fe
295 purple_ssl_init(void) 295 purple_ssl_init(void)
296 { 296 {
297 /* Although purple_ssl_is_supported will do the initialization on 297 /* Although purple_ssl_is_supported will do the initialization on
298 command, SSL plugins tend to register CertificateSchemes as well 298 command, SSL plugins tend to register CertificateSchemes as well
299 as providing SSL ops. */ 299 as providing SSL ops. */
300 g_assert(ssl_init()); 300 if ( !ssl_init() ) {
301 purple_debug_error("sslconn",
302 "SSL subsystem failed to init!\n");
303 }
301 } 304 }
302 305
303 void 306 void
304 purple_ssl_uninit(void) 307 purple_ssl_uninit(void)
305 { 308 {