]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
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:26:14 +0000 (14:26 +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)

(cherry picked from commit b0be101326f369f0dd547556d2f3eb3ef5ed0e33)

doc/man3/SSL_CTX_set_tlsext_ticket_key_cb.pod

index b2637efc1a7277af82f437146284a8585f68d41d..d7563d27e296a9b5d16368e12ba6a85034e1adbe 100644 (file)
@@ -123,7 +123,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