summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortedu <>2014-10-08 19:17:55 +0000
committertedu <>2014-10-08 19:17:55 +0000
commit7aaea295f735354956b1d3c532f47c5717d2a315 (patch)
tree73c1a9be1aaba320bcf5f739c4b14a72ffe4235d /src/lib
parent7a5e92baa00a5bbfe68b3a0cd250ed50ea613d1a (diff)
downloadopenbsd-7aaea295f735354956b1d3c532f47c5717d2a315.tar.gz
openbsd-7aaea295f735354956b1d3c532f47c5717d2a315.tar.bz2
openbsd-7aaea295f735354956b1d3c532f47c5717d2a315.zip
history
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libressl/ressl_init.314
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
109The 109The
110.Lb ressl 110.Nm ressl
111family of functions establishes a secure communications channel 111family of functions establishes a secure communications channel
112using the TLS socket protocol. 112using the TLS socket protocol.
113Both clients and servers are supported. 113Both 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?
306Functions that return 305Functions that return
307.Vt int 306.Vt int
308will return 0 on success and -1 on error. 307will return 0 on success and -1 on error.
309Functions that return a pointer will return NULL on error. 308Functions 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
312The
313.Nm ressl
314API first appeared in
315.Ox 5.6
316as a response to the unnecessary challenges other APIs present in
317order to use them safely.
318