diff options
author | jmc <> | 2015-09-11 07:09:05 +0000 |
---|---|---|
committer | jmc <> | 2015-09-11 07:09:05 +0000 |
commit | 374d962ebc77fe4a46858eab93f3be40eacb36f7 (patch) | |
tree | 740bf8a5de917fa13c4e40573d9572df071d0db5 /src | |
parent | e118835d9577f827093293e686fe88d70fdc8cb6 (diff) | |
download | openbsd-374d962ebc77fe4a46858eab93f3be40eacb36f7.tar.gz openbsd-374d962ebc77fe4a46858eab93f3be40eacb36f7.tar.bz2 openbsd-374d962ebc77fe4a46858eab93f3be40eacb36f7.zip |
- add some missing NAME entries
- zap trailing whitespace
- avoid "can not"
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libtls/tls_init.3 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/lib/libtls/tls_init.3 b/src/lib/libtls/tls_init.3 index 050bdfb6a6..b6e9e5d276 100644 --- a/src/lib/libtls/tls_init.3 +++ b/src/lib/libtls/tls_init.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: tls_init.3,v 1.35 2015/09/10 16:59:00 deraadt Exp $ | 1 | .\" $OpenBSD: tls_init.3,v 1.36 2015/09/11 07:09:05 jmc Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> | 3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -14,7 +14,7 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: September 10 2015 $ | 17 | .Dd $Mdocdate: September 11 2015 $ |
18 | .Dt TLS_INIT 3 | 18 | .Dt TLS_INIT 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -41,6 +41,8 @@ | |||
41 | .Nm tls_config_insecure_noverifycert , | 41 | .Nm tls_config_insecure_noverifycert , |
42 | .Nm tls_config_insecure_noverifyname , | 42 | .Nm tls_config_insecure_noverifyname , |
43 | .Nm tls_config_verify , | 43 | .Nm tls_config_verify , |
44 | .Nm tls_config_verify_client , | ||
45 | .Nm tls_config_verify_client_optional , | ||
44 | .Nm tls_load_file , | 46 | .Nm tls_load_file , |
45 | .Nm tls_client , | 47 | .Nm tls_client , |
46 | .Nm tls_server , | 48 | .Nm tls_server , |
@@ -326,7 +328,7 @@ clears any secret keys from memory. | |||
326 | .Fn tls_config_insecure_noverifycert | 328 | .Fn tls_config_insecure_noverifycert |
327 | disables certificate verification. | 329 | disables certificate verification. |
328 | Be extremely careful when using this option. | 330 | Be extremely careful when using this option. |
329 | .Em (Client and server) | 331 | .Em (Client and server) |
330 | .It | 332 | .It |
331 | .Fn tls_config_insecure_noverifyname | 333 | .Fn tls_config_insecure_noverifyname |
332 | disables server name verification. | 334 | disables server name verification. |
@@ -445,8 +447,8 @@ or | |||
445 | .Sh RETURN VALUES | 447 | .Sh RETURN VALUES |
446 | Functions that return | 448 | Functions that return |
447 | .Vt int | 449 | .Vt int |
448 | or | 450 | or |
449 | .Vt ssize_t | 451 | .Vt ssize_t |
450 | will return 0 on success and -1 on error. | 452 | will return 0 on success and -1 on error. |
451 | Functions that return a pointer will return NULL on error, which indicates an | 453 | Functions that return a pointer will return NULL on error, which indicates an |
452 | out of memory condition. | 454 | out of memory condition. |
@@ -471,7 +473,7 @@ repeated immediately. | |||
471 | In the case of non-blocking file descriptors, the same function call should be | 473 | In the case of non-blocking file descriptors, the same function call should be |
472 | repeated when the required condition has been met. | 474 | repeated when the required condition has been met. |
473 | .Pp | 475 | .Pp |
474 | Callers of these functions can not rely on the value of the global | 476 | Callers of these functions cannot rely on the value of the global |
475 | .Ar errno . | 477 | .Ar errno . |
476 | To prevent mishandling of error conditions, | 478 | To prevent mishandling of error conditions, |
477 | .Fn tls_handshake , | 479 | .Fn tls_handshake , |