making the OpenSSL calls in sigh thread save
Created by: matthbr
make sigh thread save by moving the OpenSSL_add_all_algorithms() and ERR_load_crypto_strings() calls to an init function as well as adding the CRYPTO_set_id_callback and CRYPTO_set_locking_callback functions to the init function