Copy the SSL session ID between two BIO chains that contain SSL BIOs.

Synopsis

Declared in <openssl/ssl.h>

int
BIO_ssl_copy_session_id(
    BIO* to,
    BIO* from);

Return Value

1 on success, or 0 on failure (including QUIC SSL objects).

Parameters

Name

Description

to

Destination BIO chain whose SSL session is set.

from

Source BIO chain whose SSL session is copied.

Created with MrDocs