SSL_SESSION_print(3) — Subroutines
NAME
SSL_SESSION_print, SSL_SESSION_print_fp − Write data in the SSL_SESSION structure to the BIO or to an I/O stream specified by the file pointer
SYNOPSIS
#include <openssl/ssl.h>
int SSL_SESSION_print(
BIO ∗bp,
SSL_SESSION ∗x ); int SSL_SESSION_print_fp(
FILE ∗fp,
SSL_SESSION ∗x );
DESCRIPTION
The SSL_SESSION_print() writes SSL_SESSION information (including protocol type, cipher types, session id, and master key) into the BIO. If this function succeeds, it returns 1.
The SSL_SESSION_print_fp() writes SSL_SESSION information (including protocol type, cipher types, session id, and master key) into the FILE fp. If this function succeeds, it returns 1.
RETURN VALUES
Both SSL_SESSION_print() and SSL_SESSION_print_fp() functions return 1 on success and 0 on write errors.
SEE ALSO
Functions: SSL_SESSION_free(3), SSL_get_session(3), SSL_set_session(3)