aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2017-09-07 18:53:05 -0400
committerBenjamin Kaduk <kaduk@mit.edu>2017-09-08 13:58:59 -0500
commitf1b97da1fd90cf3935eafedc8df0d0165cb75f2f (patch)
tree6db3aa66ae0837c2e2a0dec5c065ef021962e384 /doc
parentf90486f4def6c20e3021405068b69533d164244f (diff)
downloadopenssl-f1b97da1fd90cf3935eafedc8df0d0165cb75f2f.tar.gz
Introduce named constants for the ClientHello callback.
It is otherwise unclear what all the magic numbers mean. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Ben Kaduk <kaduk@mit.edu> (Merged from https://github.com/openssl/openssl/pull/4349)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/SSL_CTX_set_client_hello_cb.pod5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/man3/SSL_CTX_set_client_hello_cb.pod b/doc/man3/SSL_CTX_set_client_hello_cb.pod
index 18bbc2938d..6824b5b8d1 100644
--- a/doc/man3/SSL_CTX_set_client_hello_cb.pod
+++ b/doc/man3/SSL_CTX_set_client_hello_cb.pod
@@ -88,8 +88,9 @@ within a ClientHello callback.
=head1 RETURN VALUES
-The application's supplied ClientHello callback returns 1 on success, 0 on failure,
-and a negative value to suspend processing.
+The application's supplied ClientHello callback returns
+SSL_CLIENT_HELLO_SUCCESS on success, SSL_CLIENT_HELLO_ERROR on failure, and
+SSL_CLIENT_HELLO_RETRY to suspend processing.
SSL_client_hello_isv2() returns 1 for SSLv2-format ClientHellos and 0 otherwise.