diff options
Diffstat (limited to 'src/lib/libtls/tls_init.3')
| -rw-r--r-- | src/lib/libtls/tls_init.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libtls/tls_init.3 b/src/lib/libtls/tls_init.3 index fbd6cb5e12..feef85dcb6 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.46 2015/09/14 14:29:30 jmc Exp $ | 1 | .\" $OpenBSD: tls_init.3,v 1.47 2015/09/14 15:14:55 schwarze Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> | 3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> |
| 4 | .\" | 4 | .\" |
| @@ -88,7 +88,7 @@ | |||
| 88 | .Ft "int" | 88 | .Ft "int" |
| 89 | .Fn tls_config_set_cert_file "struct tls_config *config" "const char *cert_file" | 89 | .Fn tls_config_set_cert_file "struct tls_config *config" "const char *cert_file" |
| 90 | .Ft "int" | 90 | .Ft "int" |
| 91 | .Fn tls_config_set_cert_mem "struct tls_config *config" "const uint8_t *cert" "size_t len" | 91 | .Fn tls_config_set_cert_mem "struct tls_config *config" "const uint8_t *cert" "size_t len" |
| 92 | .Ft "int" | 92 | .Ft "int" |
| 93 | .Fn tls_config_set_ciphers "struct tls_config *config" "const char *ciphers" | 93 | .Fn tls_config_set_ciphers "struct tls_config *config" "const char *ciphers" |
| 94 | .Ft "int" | 94 | .Ft "int" |
| @@ -595,7 +595,7 @@ while (len > 0) { | |||
| 595 | ret = tls_write(ctx, buf, len); | 595 | ret = tls_write(ctx, buf, len); |
| 596 | if (ret == TLS_WANT_POLLIN || ret == TLS_WANT_POLLOUT) | 596 | if (ret == TLS_WANT_POLLIN || ret == TLS_WANT_POLLOUT) |
| 597 | continue; | 597 | continue; |
| 598 | if (ret < 0) | 598 | if (ret < 0) |
| 599 | err(1, "tls_write: %s", tls_error(ctx)); | 599 | err(1, "tls_write: %s", tls_error(ctx)); |
| 600 | buf += ret; | 600 | buf += ret; |
| 601 | len -= ret; | 601 | len -= ret; |
| @@ -630,7 +630,7 @@ while (len > 0) { | |||
| 630 | buf += ret; | 630 | buf += ret; |
| 631 | len -= ret; | 631 | len -= ret; |
| 632 | } | 632 | } |
| 633 | } | 633 | } |
| 634 | } | 634 | } |
| 635 | \&... | 635 | \&... |
| 636 | .Ed | 636 | .Ed |
