static gboolean plugin_load(PurplePlugin *plugin) { if (!purple_ssl_get_ops()) purple_ssl_set_ops(&ssl_ops); /* Init OpenSSL now so others can use it even if sslconn never does */ ssl_openssl_init_openssl(); return (TRUE); }
static gboolean plugin_load(PurplePlugin *plugin) { #ifdef HAVE_OPENSSL if (!purple_ssl_get_ops()) purple_ssl_set_ops(&ssl_ops); /* Init OpenSSL now so others can use it even if sslconn never does */ ssl_openssl_init_openssl(); return (TRUE); #else return (FALSE); #endif }