TrinityCore
OpenSSLCrypto Namespace Reference

Functions

TC_COMMON_API void threadsSetup (boost::filesystem::path const &providerModulePath)
 Needs to be called before threads using openssl are spawned. More...
 
TC_COMMON_API void threadsCleanup ()
 Needs to be called after threads using openssl are despawned. More...
 

Detailed Description

A group of functions which setup openssl crypto module to work properly in multithreaded enviroment If not setup properly - it will crash

Function Documentation

◆ threadsCleanup()

void OpenSSLCrypto::threadsCleanup ( )

Needs to be called after threads using openssl are despawned.

Definition at line 40 of file OpenSSLCrypto.cpp.

+ Here is the caller graph for this function:

◆ threadsSetup()

void OpenSSLCrypto::threadsSetup ( boost::filesystem::path const &  providerModulePath)

Needs to be called before threads using openssl are spawned.

Definition at line 26 of file OpenSSLCrypto.cpp.

+ Here is the caller graph for this function: