summaryrefslogtreecommitdiffstats
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:25:53 +0000
commitec4c7262e365c9c2479817e5b1ca1bf40eb0c7e3 (patch)
treec885ba9acf74e75cb851d7c63dc5bf9124f396f0
parentab3311576e3ab1a1e876061fcd885c9c09daddd8 (diff)
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) (cherry picked from commit b0be101326f369f0dd547556d2f3eb3ef5ed0e33)
-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