aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-12-06 11:37:26 +0000
committerMatt Caswell <matt@openssl.org>2021-12-07 14:23:58 +0000
commitb0be101326f369f0dd547556d2f3eb3ef5ed0e33 (patch)
treebee3756c0ea4115c3f2fafe129069b4d6b24c833
parent317acac5cc0a2cb31bc4b91353c2b752a3989d8a (diff)
downloadopenssl-b0be101326f369f0dd547556d2f3eb3ef5ed0e33.tar.gz
Fix documentation for tlsext_ticket_key
The tlsext_ticket_key functions are documented as returning 0 on success. In fact they return 1 on success. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17210)
-rw-r--r--doc/man3/SSL_CTX_set_tlsext_ticket_key_cb.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man3/SSL_CTX_set_tlsext_ticket_key_cb.pod b/doc/man3/SSL_CTX_set_tlsext_ticket_key_cb.pod
index 9e9d729c25..5d178bb8e4 100644
--- a/doc/man3/SSL_CTX_set_tlsext_ticket_key_cb.pod
+++ b/doc/man3/SSL_CTX_set_tlsext_ticket_key_cb.pod
@@ -145,7 +145,7 @@ enable an attacker to obtain the session keys.
=head1 RETURN VALUES
-returns 0 to indicate the callback function was set.
+Returns 1 to indicate the callback function was set and 0 otherwise.
=head1 EXAMPLES