SSL_version(3)SSL_version(3)NAMESSL_version - Get a version of the SSL structure
SYNOPSIS
#include <openssl/ssl.h>
int SSL_version(
SSL *s );
DESCRIPTION
The SSL_version() function returns an SSL version (one of SSL2_VERSION,
SSL3_VERSION, TLS1_VERSION).
RETURN VALUES
Indicates that the SSL version is SSLv2. Indicates that the SSL ver‐
sion is SSLv3. Indicates that the SSL version is TLSv1.
SEE ALSO
TBA
SSL_version(3)