From: schwarze Date: Sat, 10 Jun 2017 13:58:59 +0000 (+0000) Subject: fix broken markup of callback arguments; found with mandoc -Tlint X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b41b3495e5aeb7dec9f754831a14b123b609aaaf;p=openbsd fix broken markup of callback arguments; found with mandoc -Tlint --- diff --git a/lib/libssl/man/SSL_CTX_set_alpn_select_cb.3 b/lib/libssl/man/SSL_CTX_set_alpn_select_cb.3 index c55a9a229dc..ea7b1faf483 100644 --- a/lib/libssl/man/SSL_CTX_set_alpn_select_cb.3 +++ b/lib/libssl/man/SSL_CTX_set_alpn_select_cb.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_CTX_set_alpn_select_cb.3,v 1.1 2016/11/30 16:46:56 schwarze Exp $ +.\" $OpenBSD: SSL_CTX_set_alpn_select_cb.3,v 1.2 2017/06/10 13:58:59 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Todd Short . @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: November 30 2016 $ +.Dd $Mdocdate: June 10 2017 $ .Dt SSL_CTX_SET_ALPN_SELECT_CB 3 .Os .Sh NAME @@ -75,12 +75,9 @@ .Ft void .Fo SSL_CTX_set_alpn_select_cb .Fa "SSL_CTX *ctx" -.Fa "int (*cb) (SSL *ssl" -.Fa "const unsigned char **out" -.Fa "unsigned char *outlen" -.Fa "const unsigned char *in" -.Fa "unsigned int inlen" -.Fa "void *arg)" +.Fa "int (*cb)(SSL *ssl, const unsigned char **out,\ + unsigned char *outlen, const unsigned char *in,\ + unsigned int inlen, void *arg)" .Fa "void *arg" .Fc .Ft int diff --git a/lib/libssl/man/SSL_CTX_set_generate_session_id.3 b/lib/libssl/man/SSL_CTX_set_generate_session_id.3 index 5166b906052..d672c2cea1a 100644 --- a/lib/libssl/man/SSL_CTX_set_generate_session_id.3 +++ b/lib/libssl/man/SSL_CTX_set_generate_session_id.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_CTX_set_generate_session_id.3,v 1.2 2016/11/30 18:07:12 schwarze Exp $ +.\" $OpenBSD: SSL_CTX_set_generate_session_id.3,v 1.3 2017/06/10 13:58:59 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Lutz Jaenicke . @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: November 30 2016 $ +.Dd $Mdocdate: June 10 2017 $ .Dt SSL_CTX_SET_GENERATE_SESSION_ID 3 .Os .Sh NAME @@ -67,7 +67,7 @@ .Ft int .Fn SSL_CTX_set_generate_session_id "SSL_CTX *ctx" "GEN_SESSION_CB cb" .Ft int -.Fn SSL_set_generate_session_id "SSL *ssl" "GEN_SESSION_CB" "cb);" +.Fn SSL_set_generate_session_id "SSL *ssl" "GEN_SESSION_CB cb" .Ft int .Fo SSL_has_matching_session_id .Fa "const SSL *ssl" "const unsigned char *id" "unsigned int id_len"