OpenBSD manual page server

Manual Page Search Parameters

SSL_COPY_SESSION_ID(3) Library Functions Manual SSL_COPY_SESSION_ID(3)

SSL_copy_session_idcopy session details between SSL objects

#include <openssl/ssl.h>

SSL_copy_session_id(SSL *to, const SSL *from);

() copies the following data from from to to:

This function is used internally by SSL_dup(3) and by BIO_ssl_copy_session_id(3).

BIO_ssl_copy_session_id(3), SSL_dup(3), SSL_get_session(3), SSL_SESSION_get_id(3), SSL_SESSION_new(3), SSL_set_session(3), SSL_set_session_id_context(3)

SSL_copy_session_id() appeared before SSLeay 0.8 and has been available since OpenBSD 2.4.

Failures of SSL_set_session(3), SSL_set_session_id_context(3), CRYPTO_add(3), and reinitialization of protocol-specific data are silently ignored and may leave to in an invalid or inconsistent state. An improved version reporting failure is available in OpenSSL 1.1.0.

March 21, 2018 OpenBSD-6.3