From: Lutz Jänicke Date: Fri, 23 Feb 2001 21:05:56 +0000 (+0000) Subject: SSL_get_version() was an easy one :-) X-Git-Tag: OpenSSL_0_9_6a-beta1~23^2 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=2c1571b4ff4802d8f43d2196c5f362f175e38ce8;hp=6767a536696c601b02b3b6bca4521436b2972b48 SSL_get_version() was an easy one :-) --- diff --git a/doc/ssl/SSL_get_version.pod b/doc/ssl/SSL_get_version.pod new file mode 100644 index 0000000000..24d5291256 --- /dev/null +++ b/doc/ssl/SSL_get_version.pod @@ -0,0 +1,46 @@ +=pod + +=head1 NAME + +SSL_get_version - get the protocol version of a connection. + +=head1 SYNOPSIS + + #include + + const char *SSL_get_version(SSL *ssl); + +=head1 DESCRIPTION + +SSL_get_cipher_version() returns the name of the protocol used for the +connection B. + +=head1 RETURN VALUES + +The following strings can occur: + +=over 4 + +=item SSLv2 + +The connection uses the SSLv2 protocol. + +=item SSLv3 + +The connection uses the SSLv3 protocol. + +=item TLSv1 + +The connection uses the TLSv1 protocol. + +=item unknown + +This indicates that no version has been set (no connection established). + +=back + +=head1 SEE ALSO + +L + +=cut diff --git a/doc/ssl/ssl.pod b/doc/ssl/ssl.pod index b653c4d3c9..f27551902b 100644 --- a/doc/ssl/ssl.pod +++ b/doc/ssl/ssl.pod @@ -681,6 +681,7 @@ L, L, L, L, +L, L, L, L,