#include <ctype.h>
#include <openssl/err.h>
#include <openssl/bn.h>
#include <openssl/rsa.h>
#if HAVE_SASL
#include <sasl/sasl.h>
static gpointer openssl_global_init(gpointer arg)
{
#if OPENSSL_VERSION_NUMBER >= 0x10000000L
OPENSSL_init_ssl(0, NULL);
#else
SSL_library_init();
SSL_load_error_strings();
#endif
openssl_thread_setup();
return NULL;