1 adapt to openssl 1.1 style
3 --- cxxtools-3.0/src/tcpsocketimpl.cpp 2020-04-11 23:27:22.000000000 +0000
4 +++ cxxtools-3.0/src/tcpsocketimpl.cpp.new 2022-12-27 14:39:22.797156048 +0000
7 openssl_mutex = new cxxtools::Mutex[CRYPTO_num_locks()];
9 - CRYPTO_set_id_callback(pthreads_thread_id);
10 - CRYPTO_set_locking_callback(pthreads_locking_callback);
11 + /*CRYPTO_set_id_callback(pthreads_thread_id);
12 + CRYPTO_set_locking_callback(pthreads_locking_callback); */
13 + CRYPTO_THREADID_set_callback((unsigned long (*)())thread_id);
16 void TcpSocketImpl::initSsl()