summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-03-08 17:44:12 +0000
committerMatt Caswell <matt@openssl.org>2018-03-09 11:37:58 +0000
commite440f51395f10e307f720213bd75393e446024a3 (patch)
treeef5595dbe30c53cb2cb5c2e55a2c9ebaa47321a4 /doc
parent532f95783e2bff4d7f4e8086297ed8e0b25561f7 (diff)
Give more information in the SSL_stateless return code
Allow users to distinguish between an error occurring and an HRR being issued. Fixes #5549 Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5562)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/DTLSv1_listen.pod5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/man3/DTLSv1_listen.pod b/doc/man3/DTLSv1_listen.pod
index 50f16bc81b..70f6a25cde 100644
--- a/doc/man3/DTLSv1_listen.pod
+++ b/doc/man3/DTLSv1_listen.pod
@@ -88,8 +88,9 @@ start.
=head1 RETURN VALUES
For SSL_stateless() a return value of 1 indicates success and the B<ssl> object
-will be set up ready to continue the handshake. A return value of 0 indicates
-failure. User code may retry the SSL_stateless() call.
+will be set up ready to continue the handshake. A return value of 0 or -1
+indicates failure. If the value is 0 then a HelloRetryRequest was sent. A value
+of -1 indicates any other error. User code may retry the SSL_stateless() call.
For DTLSv1_listen() a return value of >= 1 indicates success. The B<ssl> object
will be set up ready to continue the handshake. the B<peer> value will also be