SSL_SESSION_PRINT(3)
π NAME π
okay bestie, this is SSL_SESSION_PRINT(3) from the library functions manual, and itβs giving βprint some properties of an SSL_SESSION objectβ energy β¨
SSL_SESSION_print,SSL_SESSION_print_fpβ print some properties of anSSL_SESSIONobject π«Ά
β¨ SYNOPSIS β¨
the synopsis said exactly this, no cap:
library βlibsslβ libcrypto #include <openssl/ssl.h>
int
SSL_SESSION_print(BIO *bp, const SSL_SESSION *session);
int
SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *session);
π¦ DESCRIPTION π¦
so SSL_SESSION_print() prints some properties of session in a human-readable format to the BIO *bp, and the little lineup includes: protocol version, cipher name, session ID, session ID context, master key, session ticket lifetime hint, session ticket, start time, timeout, and verify return code πΈ
SSL_SESSION_print_fp() does the same as SSL_SESSION_print() except that it prints to the FILE *fp π
π RETURN VALUES π
SSL_SESSION_print() and SSL_SESSION_print_fp() return 1 for success or 0 for failure, periodt π
in some cases, the reason for failure can be determined with ERR_get_error(3) π
π SEE ALSO π
d2i_SSL_SESSION(3)PEM_read_SSL_SESSION(3)ssl(3)SSL_get_session(3)SSL_SESSION_free(3)SSL_SESSION_get_ex_new_index(3)SSL_SESSION_get_time(3)SSL_SESSION_new(3)
π HISTORY π
SSL_SESSION_print() first appeared in SSLeay 0.5.2 π¦
SSL_SESSION_print_fp() first appeared in SSLeay 0.6.0 π
both functions have been available since OpenBSD 2.4 π
mwah π β this page came from Debian, dated June 8, 2025, and its page tag is SSL_SESSION_PRINT(3) β¨π
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms