summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-06-10 13:59:00 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-06-10 13:59:00 +0000
commit3c34490344192efc6bcf9be77c44374e49084724 (patch)
tree045a3bb270f9ad4efb835d7bd3276d49e90482ae /lib/libssl
parent68f4dea35781beea677b831f1b904e0ddf5d2ec4 (diff)
fix broken markup of callback arguments; found with mandoc -Tlint
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/man/SSL_CTX_set_alpn_select_cb.313
-rw-r--r--lib/libssl/man/SSL_CTX_set_generate_session_id.36
2 files changed, 8 insertions, 11 deletions
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 <tshort@akamai.com>.
@@ -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 <jaenicke@openssl.org>.
@@ -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"