Lines 34-39
Link Here
|
34 |
#include <ctype.h> |
34 |
#include <ctype.h> |
35 |
|
35 |
|
36 |
#include <openssl/err.h> |
36 |
#include <openssl/err.h> |
|
|
37 |
#include <openssl/bn.h> |
38 |
#include <openssl/rsa.h> |
37 |
|
39 |
|
38 |
#if HAVE_SASL |
40 |
#if HAVE_SASL |
39 |
#include <sasl/sasl.h> |
41 |
#include <sasl/sasl.h> |
Lines 2795-2803
Link Here
|
2795 |
|
2797 |
|
2796 |
static gpointer openssl_global_init(gpointer arg) |
2798 |
static gpointer openssl_global_init(gpointer arg) |
2797 |
{ |
2799 |
{ |
|
|
2800 |
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined (LIBRESSL_VERSION_NUMBER) |
2801 |
OPENSSL_init_ssl(0, NULL); |
2802 |
#else |
2798 |
SSL_library_init(); |
2803 |
SSL_library_init(); |
2799 |
SSL_load_error_strings(); |
2804 |
SSL_load_error_strings(); |
2800 |
|
2805 |
#endif |
2801 |
openssl_thread_setup(); |
2806 |
openssl_thread_setup(); |
2802 |
|
2807 |
|
2803 |
return NULL; |
2808 |
return NULL; |