-.\" $OpenBSD: SSL_CTX_set_keylog_callback.3,v 1.2 2021/10/23 13:17:03 schwarze Exp $
+.\" $OpenBSD: SSL_CTX_set_keylog_callback.3,v 1.3 2024/05/16 08:39:30 tb Exp $
.\" OpenSSL pod checked up to: 61f805c1 Jan 16 01:01:46 2018 +0800
.\"
.\" Copyright (c) 2021 Bob Beck <beck@openbsd.org>
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 23 2021 $
+.Dd $Mdocdate: May 16 2024 $
.Dt SSL_CTX_SET_KEYLOG_CALLBACK 3
.Os
.Sh NAME
sets the TLS key logging callback.
This callback is never called in LibreSSL.
.Pp
-.Fn SSL_CTX_set_keylog_callback
+.Fn SSL_CTX_get_keylog_callback
retrieves the previously set TLS key logging callback.
.Pp
These functions are provided only for compatibility with OpenSSL.