diff options
| author | bentley <> | 2014-10-12 09:33:04 +0000 |
|---|---|---|
| committer | bentley <> | 2014-10-12 09:33:04 +0000 |
| commit | 78332233d01faa45e0bb0b1583d47cb5ad1ddc19 (patch) | |
| tree | a5087bf8d016a6041c2b6822fbecfd8f6c5e70b1 /src/lib/libssl/doc/SSL_get_version.3 | |
| parent | 4e737c824fafe5f105e5f4849a9db2569b5d53d8 (diff) | |
| download | openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.tar.gz openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.tar.bz2 openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.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.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 | ||
