Should all threads call openssl_thread_stop()?
Matt Caswell
matt at openssl.org
Wed Jan 17 08:25:20 UTC 2024
On 17/01/2024 08:17, Dipak B wrote:
> Dear OSSL community members,
>
> When using openssl 3.x as statically linked library, should an
> application call OPENSSL_Thread_Stop() even inside non-OpenSSL threads?
>
> In other words if an application is statically linked to openssl,
> should it call openssl_Thread_stop() even for threads which are not all
> using openssl in any way?
>
> I did check code for same but could not conclude.
If a thread has not used OpenSSL in any way then there is no need to
call OPENSSL_thread_stop().
Matt
More information about the openssl-users
mailing list