Hi All,
Please let me know how I can replace the below 1.0.2 code to 3.0
SSL_SESSION data;
SSL_SESSION *ret=NULL;
data.ssl_version = sessVersion;
data.session_id_length= sessIdLen;
memcpy(data.session_id, sessId, sessIdLen);
CRYPTO_r_lock(CRYPTO_LOCK_SSL_CTX);
ret= (SSL_SESSION *)lh_retrieve((_LHASH *)sslCtx->sessions, &data);
CRYPTO_r_unlock(CRYPTO_LOCK_SSL_CTX);
Thanks and Regards,
Sunil
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.