PEM_write_bio_SSL_SESSION

Write an SSL_SESSION to a BIO in PEM form.

Synopsis

Declared in <openssl/ssl.h>

int
PEM_write_bio_SSL_SESSION(
    BIO* bp,
    SSL_SESSION const* x);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
bpBIO to write to.
xSession to encode.