libressl-SSL_SESSION_get_protocol_version3
Get the session protocol version
Usage
SSL Library (libssl, -lssl) libcrypto
#include <openssl/ssl.h>
int
SSL_SESSION_get_protocol_version(const SSL_SESSION *s);
Overview
SSL_SESSION_get_protocol_version() returns the protocol version number used by the session s.
Return values
SSL_SESSION_get_protocol_version() returns a constant like TLS1_VERSION or TLS1_2_VERSION.