#include "basicSSL.h" #ifdef USE_OPEN_SSL static bool OPEN_SSL_LIB_INIT_DONE = false; #endif static void sslLibInit( void ){ #ifdef USE_OPEN_SSL if (!OPEN_SSL_LIB_INIT_DONE) { OPEN_SSL_LIB_INIT_DONE = true; /* ---------------------------------------------------------- * * These function calls initialize openssl for correct work. * * ---------------------------------------------------------- */ OpenSSL_add_all_algorithms(); ERR_load_BIO_strings(); ERR_load_crypto_strings();a SSL_load_error_strings(); }; #endif };