SSL_SESSION_print(3ssl)

SSL_SESSION_print3ssl

Printf information about a session

Usage

 #include <openssl/ssl.h>
 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
 int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x);

Overview

SSL_SESSION_print() prints summary information about the session provided in ses to the BIO fp.

SSL_SESSION_print_fp() does the same as SSL_SESSION_print() except it prints it to the FILE fp.

SSL_SESSION_print_keylog() prints session information to the provided BIO <bp> in NSS keylog format.

Return values

SSL_SESSION_print(), SSL_SESSION_print_fp() and SSL_SESSION_print_keylog return 1 on success or 0 on error.

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

From openssl 3.6.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.