5 SSL_get_version - get the protocol version of a connection.
9 #include <openssl/ssl.h>
11 const char *SSL_get_version(SSL *ssl);
15 SSL_get_cipher_version() returns the name of the protocol used for the
20 The following strings can occur:
26 The connection uses the SSLv2 protocol.
30 The connection uses the SSLv3 protocol.
34 The connection uses the TLSv1 protocol.
38 This indicates that no version has been set (no connection established).