add symbols-nerd fonts
[oi-userland.git] / components / library / cxxtools / patches / 01_openssl_1_1.patch
blob285ae9bbdce21776e55d7e166e5a71537d4fb94e
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
5 @@ -253,8 +253,9 @@
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()