summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorschwarze <>2017-08-21 09:07:08 +0000
committerschwarze <>2017-08-21 09:07:08 +0000
commitea008625593a2f223923deaae8fd34bffb6a0a9b (patch)
tree29dc95a2eace68e7f71905da56031738d61547f1 /src/lib
parentb6cd845f3a7c60079cda7b955e026fb603d03a8c (diff)
downloadopenbsd-ea008625593a2f223923deaae8fd34bffb6a0a9b.tar.gz
openbsd-ea008625593a2f223923deaae8fd34bffb6a0a9b.tar.bz2
openbsd-ea008625593a2f223923deaae8fd34bffb6a0a9b.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 'src/lib')
-rw-r--r--src/lib/libssl/man/SSL_CTX_set_msg_callback.331
1 files changed, 15 insertions, 16 deletions
diff --git a/src/lib/libssl/man/SSL_CTX_set_msg_callback.3 b/src/lib/libssl/man/SSL_CTX_set_msg_callback.3
index 33d62a6837..65d81fe464 100644
--- a/src/lib/libssl/man/SSL_CTX_set_msg_callback.3
+++ b/src/lib/libssl/man/SSL_CTX_set_msg_callback.3
@@ -1,5 +1,6 @@
1.\" $OpenBSD: SSL_CTX_set_msg_callback.3,v 1.2 2016/12/01 15:26:11 schwarze Exp $ 1.\" $OpenBSD: SSL_CTX_set_msg_callback.3,v 1.3 2017/08/21 09:07:08 schwarze Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL SSL_CTX_set_msg_callback.pod e9b77246 Jan 20 19:58:49 2017 +0100
3.\" OpenSSL SSL_CTX_set_msg_callback.pod b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 4.\"
4.\" This file was written by Bodo Moeller <bodo@openssl.org>. 5.\" This file was written by Bodo Moeller <bodo@openssl.org>.
5.\" Copyright (c) 2001, 2014, 2016 The OpenSSL Project. All rights reserved. 6.\" Copyright (c) 2001, 2014, 2016 The OpenSSL Project. All rights reserved.
@@ -48,7 +49,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 51.\"
51.Dd $Mdocdate: December 1 2016 $ 52.Dd $Mdocdate: August 21 2017 $
52.Dt SSL_CTX_SET_MSG_CALLBACK 3 53.Dt SSL_CTX_SET_MSG_CALLBACK 3
53.Os 54.Os
54.Sh NAME 55.Sh NAME
@@ -117,24 +118,22 @@ This flag is 0 when a protocol message has been received and 1 when a protocol
117message has been sent. 118message has been sent.
118.It Fa version 119.It Fa version
119The protocol version according to which the protocol message is 120The protocol version according to which the protocol message is
120interpreted by the library. 121interpreted by the library, such as
121Currently, this is one of 122.Dv TLS1_VERSION ,
122.Dv SSL2_VERSION , 123.Dv TLS1_1_VERSION ,
123.Dv SSL3_VERSION 124.Dv TLS1_2_VERSION ,
124and 125or
125.Dv TLS1_VERSION 126.Dv DTLS1_VERSION .
126(for SSL 2.0, SSL 3.0 and TLS 1.0, respectively).
127.It Fa content_type 127.It Fa content_type
128In the case of SSL 2.0, this is always 0. 128This is one of the
129In the case of SSL 3.0 or TLS 1.0, this is one of the
130.Em ContentType 129.Em ContentType
131values defined in the protocol specification 130values defined in the protocol specification
132.Po 131.Po
133.Dq change_cipher_spec(20) , 132.Dv SSL3_RT_CHANGE_CIPHER_SPEC ,
134.Dq alert(21) , 133.Dv SSL3_RT_ALERT ,
135.Dq handshake(22) ; 134.Dv SSL3_RT_HANDSHAKE ,
136but never 135but never
137.Dq application_data(23) 136.Dv SSL3_RT_APPLICATION_DATA
138because the callback will only be called for protocol messages. 137because the callback will only be called for protocol messages.
139.Pc 138.Pc
140.It Fa buf , Fa len 139.It Fa buf , Fa len