diff options
| -rw-r--r-- | src/lib/libressl/ressl_init.3 | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/lib/libressl/ressl_init.3 b/src/lib/libressl/ressl_init.3 index 9e61243c3a..8f47a667eb 100644 --- a/src/lib/libressl/ressl_init.3 +++ b/src/lib/libressl/ressl_init.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: ressl_init.3,v 1.4 2014/10/08 19:12:42 tedu Exp $ | 1 | .\" $OpenBSD: ressl_init.3,v 1.5 2014/10/08 19:17:55 tedu Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> | 3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> |
| 4 | .\" | 4 | .\" |
| @@ -107,7 +107,7 @@ | |||
| 107 | .Fn ressl_write "struct ressl *ctx" "const void *buf" "size_t buflen" | 107 | .Fn ressl_write "struct ressl *ctx" "const void *buf" "size_t buflen" |
| 108 | .Sh DESCRIPTION | 108 | .Sh DESCRIPTION |
| 109 | The | 109 | The |
| 110 | .Lb ressl | 110 | .Nm ressl |
| 111 | family of functions establishes a secure communications channel | 111 | family of functions establishes a secure communications channel |
| 112 | using the TLS socket protocol. | 112 | using the TLS socket protocol. |
| 113 | Both clients and servers are supported. | 113 | Both clients and servers are supported. |
| @@ -302,11 +302,17 @@ The amount of data written is returned in | |||
| 302 | .Fa outlen . | 302 | .Fa outlen . |
| 303 | .El | 303 | .El |
| 304 | .Sh RETURN VALUES | 304 | .Sh RETURN VALUES |
| 305 | .\" XXX Is this always true? | ||
| 306 | Functions that return | 305 | Functions that return |
| 307 | .Vt int | 306 | .Vt int |
| 308 | will return 0 on success and -1 on error. | 307 | will return 0 on success and -1 on error. |
| 309 | Functions that return a pointer will return NULL on error. | 308 | Functions that return a pointer will return NULL on error. |
| 310 | .\" .Sh ERRORS | 309 | .\" .Sh ERRORS |
| 311 | .\" .Sh SEE ALSO | 310 | .\" .Sh SEE ALSO |
| 312 | .\" .Sh HISTORY | 311 | .Sh HISTORY |
| 312 | The | ||
| 313 | .Nm ressl | ||
| 314 | API first appeared in | ||
| 315 | .Ox 5.6 | ||
| 316 | as a response to the unnecessary challenges other APIs present in | ||
| 317 | order to use them safely. | ||
| 318 | |||
