diff options
Diffstat (limited to 'src/lib/libssl/doc/SSL_get_version.3')
| -rw-r--r-- | src/lib/libssl/doc/SSL_get_version.3 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/libssl/doc/SSL_get_version.3 b/src/lib/libssl/doc/SSL_get_version.3 new file mode 100644 index 0000000000..f8fe406d44 --- /dev/null +++ b/src/lib/libssl/doc/SSL_get_version.3 | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | .Dd $Mdocdate: October 12 2014 $ | ||
| 2 | .Dt SSL_GET_VERSION 3 | ||
| 3 | .Os | ||
| 4 | .Sh NAME | ||
| 5 | .Nm SSL_get_version | ||
| 6 | .Nd get the protocol version of a connection. | ||
| 7 | .Sh SYNOPSIS | ||
| 8 | .In openssl/ssl.h | ||
| 9 | .Ft const char * | ||
| 10 | .Fn SSL_get_version "const SSL *ssl" | ||
| 11 | .Sh DESCRIPTION | ||
| 12 | .Fn SSL_get_version | ||
| 13 | returns the name of the protocol used for the connection | ||
| 14 | .Fa ssl . | ||
| 15 | .Sh RETURN VALUES | ||
| 16 | The following strings can be returned: | ||
| 17 | .Bl -tag -width Ds | ||
| 18 | .It Qq SSLv2 | ||
| 19 | The connection uses the SSLv2 protocol. | ||
| 20 | .It Qq SSLv3 | ||
| 21 | The connection uses the SSLv3 protocol. | ||
| 22 | .It Qq TLSv1 | ||
| 23 | The connection uses the TLSv1.0 protocol. | ||
| 24 | .It Qq TLSv1.1 | ||
| 25 | The connection uses the TLSv1.1 protocol. | ||
| 26 | .It Qq TLSv1.2 | ||
| 27 | The connection uses the TLSv1.2 protocol. | ||
| 28 | .It Qq unknown | ||
| 29 | This indicates that no version has been set (no connection established). | ||
| 30 | .El | ||
| 31 | .Sh SEE ALSO | ||
| 32 | .Xr ssl 3 | ||
