Need Help for Code Changes to Upgrade from OpenSSL 1.0.2 to 3.0

Paramashivaiah, Sunil Sunil.Paramashivaiah at
Thu Oct 21 08:48:55 UTC 2021

Hi All,
         Please let me know how I can replace the below 1.0.2 code to 3.0

    SSL_SESSION data;

    data.ssl_version = sessVersion;
    data.session_id_length= sessIdLen;

    memcpy(data.session_id, sessId,  sessIdLen);

    ret= (SSL_SESSION *)lh_retrieve((_LHASH *)sslCtx->sessions, &data);


Thanks and Regards,

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the openssl-users mailing list