summaryrefslogtreecommitdiffstats
path: root/lib/libssl/man
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-08-21 09:07:08 +0000
committerschwarze <schwarze@openbsd.org>2017-08-21 09:07:08 +0000
commitffba89b338080136ea43bf68e6d90386ece48591 (patch)
tree64be647644647eee4af22e0cf066f95e38859e7b /lib/libssl/man
parentNo need to explicitely add patch.sig to the plist, diff.sh will now pick it (diff)
downloadwireguard-openbsd-ffba89b338080136ea43bf68e6d90386ece48591.tar.xz
wireguard-openbsd-ffba89b338080136ea43bf68e6d90386ece48591.zip
Selectively merge OpenSSL commit e091367d May 5 11:56:45 2017 +0100
from Matt Caswell <matt at openssl dot org>. In particular, stop talking about SSL 2.0 and SSL 3.0, but do not start talking about TLS 1.3 just yet.
Diffstat (limited to 'lib/libssl/man')
-rw-r--r--lib/libssl/man/SSL_CTX_set_msg_callback.331
1 files changed, 15 insertions, 16 deletions
diff --git a/lib/libssl/man/SSL_CTX_set_msg_callback.3 b/lib/libssl/man/SSL_CTX_set_msg_callback.3
index 33d62a68377..65d81fe4641 100644
--- a/lib/libssl/man/SSL_CTX_set_msg_callback.3
+++ b/lib/libssl/man/SSL_CTX_set_msg_callback.3
@@ -1,5 +1,6 @@
-.\" $OpenBSD: SSL_CTX_set_msg_callback.3,v 1.2 2016/12/01 15:26:11 schwarze Exp $
-.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
+.\" $OpenBSD: SSL_CTX_set_msg_callback.3,v 1.3 2017/08/21 09:07:08 schwarze Exp $
+.\" OpenSSL SSL_CTX_set_msg_callback.pod e9b77246 Jan 20 19:58:49 2017 +0100
+.\" OpenSSL SSL_CTX_set_msg_callback.pod b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Bodo Moeller <bodo@openssl.org>.
.\" Copyright (c) 2001, 2014, 2016 The OpenSSL Project. All rights reserved.
@@ -48,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 1 2016 $
+.Dd $Mdocdate: August 21 2017 $
.Dt SSL_CTX_SET_MSG_CALLBACK 3
.Os
.Sh NAME
@@ -117,24 +118,22 @@ This flag is 0 when a protocol message has been received and 1 when a protocol
message has been sent.
.It Fa version
The protocol version according to which the protocol message is
-interpreted by the library.
-Currently, this is one of
-.Dv SSL2_VERSION ,
-.Dv SSL3_VERSION
-and
-.Dv TLS1_VERSION
-(for SSL 2.0, SSL 3.0 and TLS 1.0, respectively).
+interpreted by the library, such as
+.Dv TLS1_VERSION ,
+.Dv TLS1_1_VERSION ,
+.Dv TLS1_2_VERSION ,
+or
+.Dv DTLS1_VERSION .
.It Fa content_type
-In the case of SSL 2.0, this is always 0.
-In the case of SSL 3.0 or TLS 1.0, this is one of the
+This is one of the
.Em ContentType
values defined in the protocol specification
.Po
-.Dq change_cipher_spec(20) ,
-.Dq alert(21) ,
-.Dq handshake(22) ;
+.Dv SSL3_RT_CHANGE_CIPHER_SPEC ,
+.Dv SSL3_RT_ALERT ,
+.Dv SSL3_RT_HANDSHAKE ,
but never
-.Dq application_data(23)
+.Dv SSL3_RT_APPLICATION_DATA
because the callback will only be called for protocol messages.
.Pc
.It Fa buf , Fa len