Add SSL_CTX_set_keylog_callback and SSL_CTX_get_keylog_callback
authorbeck <beck@openbsd.org>
Sat, 23 Oct 2021 11:41:51 +0000 (11:41 +0000)
committerbeck <beck@openbsd.org>
Sat, 23 Oct 2021 11:41:51 +0000 (11:41 +0000)
commitd1ec7c35ff68639d2ffc9074aada99d8e3dda889
tree562ab3178f9a3e0d039b885bfeb032df1646bb7e
parent3822a1fa7fd4d0b3c133598a8153283f639787f0
Add SSL_CTX_set_keylog_callback and SSL_CTX_get_keylog_callback

Some things in ports care about calling these functions. Since we will
not provide private key logging functionality they are documented
as being for compatibility and that they don't do anything.

ok tb@
lib/libssl/man/Makefile
lib/libssl/man/SSL_CTX_set_keylog_callback.3 [new file with mode: 0644]
lib/libssl/ssl.h
lib/libssl/ssl_lib.c
lib/libssl/ssl_locl.h