summaryrefslogtreecommitdiff
path: root/src/lib/libssl/man/SSL_get_version.3
diff options
context:
space:
mode:
authorschwarze <>2016-11-05 15:32:20 +0000
committerschwarze <>2016-11-05 15:32:20 +0000
commitb3e8c428c609fc9c66690abb3d188c60b5d48bb1 (patch)
tree1672f1234352c29443fcacb44e22f1b20f174d99 /src/lib/libssl/man/SSL_get_version.3
parent19bc742a20d4c505bc890d49e01c44192e9dbeff (diff)
downloadopenbsd-b3e8c428c609fc9c66690abb3d188c60b5d48bb1.tar.gz
openbsd-b3e8c428c609fc9c66690abb3d188c60b5d48bb1.tar.bz2
openbsd-b3e8c428c609fc9c66690abb3d188c60b5d48bb1.zip
move manual pages from doc/ to man/ for consistency with other
libraries, in particular considering that there are unrelated files in doc/; requested by jsing@ and beck@
Diffstat (limited to 'src/lib/libssl/man/SSL_get_version.3')
-rw-r--r--src/lib/libssl/man/SSL_get_version.335
1 files changed, 35 insertions, 0 deletions
diff --git a/src/lib/libssl/man/SSL_get_version.3 b/src/lib/libssl/man/SSL_get_version.3
new file mode 100644
index 0000000000..ebbee0cb15
--- /dev/null
+++ b/src/lib/libssl/man/SSL_get_version.3
@@ -0,0 +1,35 @@
1.\"
2.\" $OpenBSD: SSL_get_version.3,v 1.1 2016/11/05 15:32:20 schwarze Exp $
3.\"
4.Dd $Mdocdate: November 5 2016 $
5.Dt SSL_GET_VERSION 3
6.Os
7.Sh NAME
8.Nm SSL_get_version
9.Nd get the protocol version of a connection
10.Sh SYNOPSIS
11.In openssl/ssl.h
12.Ft const char *
13.Fn SSL_get_version "const SSL *ssl"
14.Sh DESCRIPTION
15.Fn SSL_get_version
16returns the name of the protocol used for the connection
17.Fa ssl .
18.Sh RETURN VALUES
19The following strings can be returned:
20.Bl -tag -width Ds
21.It Qq SSLv2
22The connection uses the SSLv2 protocol.
23.It Qq SSLv3
24The connection uses the SSLv3 protocol.
25.It Qq TLSv1
26The connection uses the TLSv1.0 protocol.
27.It Qq TLSv1.1
28The connection uses the TLSv1.1 protocol.
29.It Qq TLSv1.2
30The connection uses the TLSv1.2 protocol.
31.It Qq unknown
32This indicates that no version has been set (no connection established).
33.El
34.Sh SEE ALSO
35.Xr ssl 3