|SSL_COPY_SESSION_ID(3)||Library Functions Manual||SSL_COPY_SESSION_ID(3)|
copy session details between SSL objects
const SSL *from);
SSL_copy_session_id() copies the following
data from from to to:
SSL_copy_session_id() returns 1 on success
and 0 on error.
SSL_copy_session_id() appeared in SSLeay
0.4 or earlier and has been available since OpenBSD
Failures of CRYPTO_add(3) are silently ignored and may leave to in an invalid or inconsistent state.
|June 12, 2019||OpenBSD-current|