diff options
author | schwarze <> | 2021-10-23 13:17:03 +0000 |
---|---|---|
committer | schwarze <> | 2021-10-23 13:17:03 +0000 |
commit | bdc7a9ce585075f6e573a40acd747cf572b9ef69 (patch) | |
tree | e053f49abd9523fbfaae450f923352cdb9b01ca9 | |
parent | 8dff56643193b97a1340c067138c6eecbb262caf (diff) | |
download | openbsd-bdc7a9ce585075f6e573a40acd747cf572b9ef69.tar.gz openbsd-bdc7a9ce585075f6e573a40acd747cf572b9ef69.tar.bz2 openbsd-bdc7a9ce585075f6e573a40acd747cf572b9ef69.zip |
tweak previous: properly mark up function pointer typedef
plus .Dv NULL, SEE ALSO, HISTORY
-rw-r--r-- | src/lib/libssl/man/SSL_CTX_set_keylog_callback.3 | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/src/lib/libssl/man/SSL_CTX_set_keylog_callback.3 b/src/lib/libssl/man/SSL_CTX_set_keylog_callback.3 index 023643d8ee..04c94fa83e 100644 --- a/src/lib/libssl/man/SSL_CTX_set_keylog_callback.3 +++ b/src/lib/libssl/man/SSL_CTX_set_keylog_callback.3 | |||
@@ -1,5 +1,7 @@ | |||
1 | .\" $OpenBSD: SSL_CTX_set_keylog_callback.3,v 1.1 2021/10/23 11:41:52 beck Exp $ | 1 | .\" $OpenBSD: SSL_CTX_set_keylog_callback.3,v 1.2 2021/10/23 13:17:03 schwarze Exp $ |
2 | .\" Copyright (c) 2021, Bob Beck <beck@openbsd.org> | 2 | .\" OpenSSL pod checked up to: 61f805c1 Jan 16 01:01:46 2018 +0800 |
3 | .\" | ||
4 | .\" Copyright (c) 2021 Bob Beck <beck@openbsd.org> | ||
3 | .\" | 5 | .\" |
4 | .\" Permission to use, copy, modify, and distribute this software for any | 6 | .\" Permission to use, copy, modify, and distribute this software for any |
5 | .\" purpose with or without fee is hereby granted, provided that the above | 7 | .\" purpose with or without fee is hereby granted, provided that the above |
@@ -22,9 +24,11 @@ | |||
22 | .Nd set and get the unused key logging callback | 24 | .Nd set and get the unused key logging callback |
23 | .Sh SYNOPSIS | 25 | .Sh SYNOPSIS |
24 | .In openssl/ssl.h | 26 | .In openssl/ssl.h |
25 | .Bd -literal | 27 | .Ft typedef void |
26 | typedef void (*SSL_CTX_keylog_cb_func)(const SSL *ssl, const char *line) | 28 | .Fo (*SSL_CTX_keylog_cb_func) |
27 | .Ed | 29 | .Fa "const SSL *ssl" |
30 | .Fa "const char *line" | ||
31 | .Fc | ||
28 | .Ft void | 32 | .Ft void |
29 | .Fn SSL_CTX_set_keylog_callback "SSL_CTX *ctx" "SSL_CTX_keylog_cb_func cb" | 33 | .Fn SSL_CTX_set_keylog_callback "SSL_CTX *ctx" "SSL_CTX_keylog_cb_func cb" |
30 | .Ft SSL_CTX_keylog_cb_func | 34 | .Ft SSL_CTX_keylog_cb_func |
@@ -40,5 +44,13 @@ retrieves the previously set TLS key logging callback. | |||
40 | These functions are provided only for compatibility with OpenSSL. | 44 | These functions are provided only for compatibility with OpenSSL. |
41 | .Sh RETURN VALUES | 45 | .Sh RETURN VALUES |
42 | .Fn SSL_CTX_get_keylog_callback | 46 | .Fn SSL_CTX_get_keylog_callback |
43 | returns the previously set TLS key logging callback, or NULL | 47 | returns the previously set TLS key logging callback, or |
48 | .Dv NULL | ||
44 | if no callback has been set. | 49 | if no callback has been set. |
50 | .Sh SEE ALSO | ||
51 | .Xr ssl 3 , | ||
52 | .Xr SSL_CTX_new 3 | ||
53 | .Sh HISTORY | ||
54 | These function first appeared in OpenSSL 1.1.1 | ||
55 | and have been available since | ||
56 | .Ox 7.1 . | ||