summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2019-01-23 11:11:53 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2019-01-23 11:11:53 +0000
commit2cb3ef5a5c1b70a12d18fbec75bb22730113c984 (patch)
treef939a6b2b88148fec3bdee0fa3505b2ac811b076 /lib/libssl
parent0fea76f694a0d4e7dd6057447f349f7164282c9c (diff)
Sync the handshakes table with the generated table in regress.
This sorts the valid handshakes with respect to ascending flags value instead of the ad-hoc order produced by the algorithm. ok jsing
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/tls13_handshake.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/lib/libssl/tls13_handshake.c b/lib/libssl/tls13_handshake.c
index a93d5ea71f3..5863b0363be 100644
--- a/lib/libssl/tls13_handshake.c
+++ b/lib/libssl/tls13_handshake.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_handshake.c,v 1.20 2019/01/23 04:25:18 tb Exp $ */
+/* $OpenBSD: tls13_handshake.c,v 1.21 2019/01/23 11:11:52 tb Exp $ */
/*
* Copyright (c) 2018-2019 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2019 Joel Sing <jsing@openbsd.org>
@@ -166,16 +166,16 @@ enum tls13_message_type handshakes[][TLS13_NUM_MESSAGE_TYPES] = {
CLIENT_FINISHED,
APPLICATION_DATA,
},
- [NEGOTIATED | WITH_CCV] = {
+ [NEGOTIATED | WITH_HRR] = {
CLIENT_HELLO,
SERVER_HELLO,
+ CLIENT_HELLO_RETRY,
SERVER_ENCRYPTED_EXTENSIONS,
SERVER_CERTIFICATE_REQUEST,
SERVER_CERTIFICATE,
SERVER_CERTIFICATE_VERIFY,
SERVER_FINISHED,
CLIENT_CERTIFICATE,
- CLIENT_CERTIFICATE_VERIFY,
CLIENT_FINISHED,
APPLICATION_DATA,
},
@@ -189,58 +189,58 @@ enum tls13_message_type handshakes[][TLS13_NUM_MESSAGE_TYPES] = {
CLIENT_FINISHED,
APPLICATION_DATA,
},
- [NEGOTIATED | WITH_PSK] = {
+ [NEGOTIATED | WITH_HRR | WITHOUT_CR] = {
CLIENT_HELLO,
SERVER_HELLO,
+ CLIENT_HELLO_RETRY,
SERVER_ENCRYPTED_EXTENSIONS,
+ SERVER_CERTIFICATE,
+ SERVER_CERTIFICATE_VERIFY,
SERVER_FINISHED,
CLIENT_FINISHED,
APPLICATION_DATA,
},
- [NEGOTIATED | WITH_HRR] = {
+ [NEGOTIATED | WITH_PSK] = {
CLIENT_HELLO,
SERVER_HELLO,
- CLIENT_HELLO_RETRY,
SERVER_ENCRYPTED_EXTENSIONS,
- SERVER_CERTIFICATE_REQUEST,
- SERVER_CERTIFICATE,
- SERVER_CERTIFICATE_VERIFY,
SERVER_FINISHED,
- CLIENT_CERTIFICATE,
CLIENT_FINISHED,
APPLICATION_DATA,
},
- [NEGOTIATED | WITH_HRR | WITH_CCV] = {
+ [NEGOTIATED | WITH_HRR | WITH_PSK] = {
CLIENT_HELLO,
SERVER_HELLO,
CLIENT_HELLO_RETRY,
SERVER_ENCRYPTED_EXTENSIONS,
- SERVER_CERTIFICATE_REQUEST,
- SERVER_CERTIFICATE,
- SERVER_CERTIFICATE_VERIFY,
SERVER_FINISHED,
- CLIENT_CERTIFICATE,
- CLIENT_CERTIFICATE_VERIFY,
CLIENT_FINISHED,
APPLICATION_DATA,
},
- [NEGOTIATED | WITH_HRR | WITHOUT_CR] = {
+ [NEGOTIATED | WITH_CCV] = {
CLIENT_HELLO,
SERVER_HELLO,
- CLIENT_HELLO_RETRY,
SERVER_ENCRYPTED_EXTENSIONS,
+ SERVER_CERTIFICATE_REQUEST,
SERVER_CERTIFICATE,
SERVER_CERTIFICATE_VERIFY,
SERVER_FINISHED,
+ CLIENT_CERTIFICATE,
+ CLIENT_CERTIFICATE_VERIFY,
CLIENT_FINISHED,
APPLICATION_DATA,
},
- [NEGOTIATED | WITH_HRR | WITH_PSK] = {
+ [NEGOTIATED | WITH_HRR | WITH_CCV] = {
CLIENT_HELLO,
SERVER_HELLO,
CLIENT_HELLO_RETRY,
SERVER_ENCRYPTED_EXTENSIONS,
+ SERVER_CERTIFICATE_REQUEST,
+ SERVER_CERTIFICATE,
+ SERVER_CERTIFICATE_VERIFY,
SERVER_FINISHED,
+ CLIENT_CERTIFICATE,
+ CLIENT_CERTIFICATE_VERIFY,
CLIENT_FINISHED,
APPLICATION_DATA,
},