diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libtls/tls_init.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libtls/tls_init.3 b/src/lib/libtls/tls_init.3 index d10c7cf73a..f88dd5cd28 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.50 2015/10/07 23:33:38 beck Exp $ | 1 | .\" $OpenBSD: tls_init.3,v 1.51 2015/10/08 07:22:02 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: October 7 2015 $ | 17 | .Dd $Mdocdate: October 8 2015 $ |
| 18 | .Dt TLS_INIT 3 | 18 | .Dt TLS_INIT 3 |
| 19 | .Os | 19 | .Os |
| 20 | .Sh NAME | 20 | .Sh NAME |
| @@ -439,7 +439,7 @@ printf "SHA256:${h}\\n" | |||
| 439 | .It | 439 | .It |
| 440 | .Fn tls_peer_cert_notbefore | 440 | .Fn tls_peer_cert_notbefore |
| 441 | returns the time corresponding to the start of the validity period of | 441 | returns the time corresponding to the start of the validity period of |
| 442 | the peer certificate from | 442 | the peer certificate from |
| 443 | .Ar ctx . | 443 | .Ar ctx . |
| 444 | .Fn tls_peer_cert_notbefore | 444 | .Fn tls_peer_cert_notbefore |
| 445 | will only succeed after the handshake is complete. | 445 | will only succeed after the handshake is complete. |
| @@ -447,7 +447,7 @@ will only succeed after the handshake is complete. | |||
| 447 | .It | 447 | .It |
| 448 | .Fn tls_peer_cert_notafter | 448 | .Fn tls_peer_cert_notafter |
| 449 | returns the time corresponding to the end of the validity period of | 449 | returns the time corresponding to the end of the validity period of |
| 450 | the peer certificate from | 450 | the peer certificate from |
| 451 | .Ar ctx . | 451 | .Ar ctx . |
| 452 | .Fn tls_peer_cert_notafter | 452 | .Fn tls_peer_cert_notafter |
| 453 | will only succeed after the handshake is complete. | 453 | will only succeed after the handshake is complete. |
| @@ -578,10 +578,10 @@ and | |||
| 578 | functions return 1 if the check succeeds, and 0 if it does not. | 578 | functions return 1 if the check succeeds, and 0 if it does not. |
| 579 | Functions that return a | 579 | Functions that return a |
| 580 | .Vt time_t | 580 | .Vt time_t |
| 581 | will return a time in epoch-seconds on success, and -1 on error. | 581 | will return a time in epoch-seconds on success, and -1 on error. |
| 582 | Functions that return a | 582 | Functions that return a |
| 583 | .Vt ssize_t | 583 | .Vt ssize_t |
| 584 | will return a size on success, and -1 on error. | 584 | will return a size on success, and -1 on error. |
| 585 | All other functions that return | 585 | All other functions that return |
| 586 | .Vt int | 586 | .Vt int |
| 587 | will return 0 on success and -1 on error. | 587 | will return 0 on success and -1 on error. |
