NAME
SSLgetversion - get the protocol version of a connection.
SYNOPSIS
#include
const char *SSLgetversion(const SSL *ssl);DESCRIPTION
SSLgetcipherversion() returns the name of the protocol used for the connection ssssll.RETURN VALUES
The following strings can occur: SSLv2 The connection uses the SSLv2 protocol. SSLv3 The connection uses the SSLv3 protocol. TLSv1 The connection uses the TLSv1 protocol. unknown This indicates that no version has been set (no connection established).SEE ALSO
ssl(3)0.9.7l 2005-03-30 SSLgetversion(3)