Calling OpenSSL_thread_stop() multiple times
matt at openssl.org
Tue Aug 22 15:54:13 UTC 2023
On 22/08/2023 15:43, Dipak B wrote:
> Is it okay to call openssl_stop_thread() on a thread and then again use
> that thread for TLS communication ? In effect end up calling
> open_ssl_thread() multiple times on same thread.
No. Don't do that. Some things get initialised on first use in a thread.
The initialisation never gets run again, so if they get deinitialised
they remain deinitialised forever on that thread.
More information about the openssl-users