You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
625 B

#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
};