Seems CRYPTO_set_id_callback has been deprecated awhile ago
https://www.openssl.org/docs/manmaster/crypto/threads.html
CRYPTO_THREADID and associated functions were introduced in OpenSSL
1.0.0 to replace (actually, deprecate) the previous
CRYPTO_set_id_callback(), CRYPTO_get_id_callback(), and
CRYPTO_thread_id() functions which assumed thread IDs to always
be represented by 'unsigned long'.
