Need help to get members of SSL_SESSION in openssl 3.0
Matt Caswell
matt at openssl.org
Wed Oct 20 10:47:55 UTC 2021
On 20/10/2021 11:41, Paramashivaiah, Sunil wrote:
> Hi All,
>
> Please let me know APIs to get members(ssl_version, session_id,
> references and session_id_length) of SSL_SESSION structure variable.
For ssl_version you can use SSL_SESSION_get_protocol_version.
For session_id/session_id_length you can use SSL_SESSION_get_id().
The references value is considered internal. You cannot access that.
Matt
More information about the openssl-users
mailing list