From 2c1571b4ff4802d8f43d2196c5f362f175e38ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lutz=20J=C3=A4nicke?= Date: Fri, 23 Feb 2001 21:05:56 +0000 Subject: [PATCH] SSL_get_version() was an easy one :-) --- doc/ssl/SSL_get_version.pod | 46 +++++++++++++++++++++++++++++++++++++ doc/ssl/ssl.pod | 1 + 2 files changed, 47 insertions(+) create mode 100644 doc/ssl/SSL_get_version.pod 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, -- GitLab