Replacement for CRYPTO_thread_id() & ERR_get_error_line_data() for openssl3.0
Matt Caswell
matt at openssl.org
Fri Sep 3 07:55:13 UTC 2021
On 03/09/2021 05:58, Shivakumar Poojari wrote:
> Hi All,
>
> We are upgrading our code to openssl 3.0. the below function we trying
> to replace, searched in the openssl man pages not found proper information.
>
> CRYPTO_thread_id()
The deprecated implementation of this is a no-op (always returns 0).
What do you need this for? This used to be useful when locking callbacks
existed. But they were removed in 1.1.0.
>
> ERR_get_error_line_data()
You can call ERR_get_error_all() as a replacement (passing a NULL value
for the "func" parameter).
Matt
>
>
> please suggest.
> thanks,
> shivakumar.
>
>
> Notice: This e-mail together with any attachments may contain
> information of Ribbon Communications Inc. and its Affiliates that is
> confidential and/or proprietary for the sole use of the intended
> recipient. Any review, disclosure, reliance or distribution by others or
> forwarding without express permission is strictly prohibited. If you are
> not the intended recipient, please notify the sender immediately and
> then delete all copies, including any attachments.
More information about the openssl-users
mailing list