Locking callback function in 1.1 and 3.0 versions #21433
-
In my C codebase, I was using Openssl 1.0 and now I am upgrading to Openssl 3.0, the locking callback functions which I had used in my C codebase to lock and unlock mutexes, I am confused about how to use the new threading API of Openssl 3.0 which basically says to use I wanted to know is there any replacement for the two functions I have mentioned for callbacks ?? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is no replacement. They can simply be removed. OpenSSL 1.1.0+ uses either pthreads or windows threads as applicable automatically without the need for the callbacks. |
Beta Was this translation helpful? Give feedback.
There is no replacement. They can simply be removed. OpenSSL 1.1.0+ uses either pthreads or windows threads as applicable automatically without the need for the callbacks.