From: Matt Caswell Date: Wed, 23 Oct 2019 18:32:05 +0000 (+0100) Subject: Fix a copy&paste error in the TLSv1.3 server side PSK documentation X-Git-Tag: OpenSSL_1_1_1e~168 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3a9080d6f486c270457b9f2b0da15d2702539f98;p=oweals%2Fopenssl.git Fix a copy&paste error in the TLSv1.3 server side PSK documentation The introductory paragraph for the TLSv1.3 server side PSK documentation is a copy & paste of the client side documentation which has not been updated with the server side equivalent information. Reviewed-by: Paul Dale Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/10245) (cherry picked from commit c549cb46e0d3cb4e611acafae5f919b4a8df4007) --- diff --git a/doc/man3/SSL_CTX_use_psk_identity_hint.pod b/doc/man3/SSL_CTX_use_psk_identity_hint.pod index c8f7526610..0957ade5e1 100644 --- a/doc/man3/SSL_CTX_use_psk_identity_hint.pod +++ b/doc/man3/SSL_CTX_use_psk_identity_hint.pod @@ -39,9 +39,9 @@ SSL_set_psk_find_session_callback =head1 DESCRIPTION -A client application wishing to use TLSv1.3 PSKs should set a callback -using either SSL_CTX_set_psk_use_session_callback() or -SSL_set_psk_use_session_callback() as appropriate. +A server application wishing to use TLSv1.3 PSKs should set a callback +using either SSL_CTX_set_psk_find_session_callback() or +SSL_set_psk_find_session_callback() as appropriate. The callback function is given a pointer to the SSL connection in B and an identity in B of length B. The callback function