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-3.0.0-alpha1~1077 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c549cb46e0d3cb4e611acafae5f919b4a8df4007;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) --- diff --git a/doc/man3/SSL_CTX_use_psk_identity_hint.pod b/doc/man3/SSL_CTX_use_psk_identity_hint.pod index 2335dc4061..80bae5bba7 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