[#SSL_copy_session_id] = SSL_copy_session_id :mrdocs: Copy the session, method, certificate, and session‐id context from one SSL object to another. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_copy_session_id( xref:SSL.adoc[SSL]* to, xref:SSL.adoc[SSL] const* from); ---- == Return Value 1 on success, or 0 on failure (including when either object is QUIC‐only). == Parameters [cols="1,4"] |=== | Name| Description | *to* | Destination SSL connection that receives the copied state. | *from* | Source SSL connection whose session and related state are copied. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#