Fix documentation for tlsext_ticket_key
authorMatt Caswell <matt@openssl.org>
Mon, 6 Dec 2021 11:37:26 +0000 (11:37 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 7 Dec 2021 14:23:58 +0000 (14:23 +0000)
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)

doc/man3/SSL_CTX_set_tlsext_ticket_key_cb.pod

index 9e9d729c2590133f8e3177ed7c3a292e339f1065..5d178bb8e4de8b547e64fbc6e09b16e0a1ef19f7 100644 (file)
@@ -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