Re: Should all threads call openssl_thread_stop()?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 18/01/2024 08:11, Dipak B wrote:
Should the application which is statically linked to OpenSSL 3.x, call OpenSSL_Thread_Stop() for a thread that uses only crypto functionality from OpenSSL but not ssl ?

If we're talking about statically linked Windows here then the answer is "yes". For other platforms the answer is "maybe". In many cases calling OPENSSL_thread_stop() is not necessary at all - but statically linked Windows is one case where it is. The conditions around this are discussed in the NOTES section of this man page:

https://www.openssl.org/docs/man3.2/man3/OPENSSL_thread_stop.html

But, if OPENSSL_thread_stop() is necessary for your circumstance, then it applies even if you only use libcrypto.

Matt



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux