summaryrefslogtreecommitdiff
path: root/src/lib/libssl/doc/SSL_get_version.3
diff options
context:
space:
mode:
authorbentley <>2014-10-12 09:33:04 +0000
committerbentley <>2014-10-12 09:33:04 +0000
commit82b7f378b6907ab315a6e50322d2a0a8794a0aa9 (patch)
treea5087bf8d016a6041c2b6822fbecfd8f6c5e70b1 /src/lib/libssl/doc/SSL_get_version.3
parent0a63f0cf49369e1926567ab62e04e3355cedf0cd (diff)
downloadopenbsd-82b7f378b6907ab315a6e50322d2a0a8794a0aa9.tar.gz
openbsd-82b7f378b6907ab315a6e50322d2a0a8794a0aa9.tar.bz2
openbsd-82b7f378b6907ab315a6e50322d2a0a8794a0aa9.zip
Convert libssl manpages from pod to mdoc(7).
libcrypto has not been started yet. ok schwarze@ miod@
Diffstat (limited to 'src/lib/libssl/doc/SSL_get_version.3')
-rw-r--r--src/lib/libssl/doc/SSL_get_version.332
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
13returns the name of the protocol used for the connection
14.Fa ssl .
15.Sh RETURN VALUES
16The following strings can be returned:
17.Bl -tag -width Ds
18.It Qq SSLv2
19The connection uses the SSLv2 protocol.
20.It Qq SSLv3
21The connection uses the SSLv3 protocol.
22.It Qq TLSv1
23The connection uses the TLSv1.0 protocol.
24.It Qq TLSv1.1
25The connection uses the TLSv1.1 protocol.
26.It Qq TLSv1.2
27The connection uses the TLSv1.2 protocol.
28.It Qq unknown
29This indicates that no version has been set (no connection established).
30.El
31.Sh SEE ALSO
32.Xr ssl 3