summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2019-01-24 03:48:10 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2019-01-24 03:48:10 +0000
commit4476d9d252a0d4d533231368d6f4e4899b225cd7 (patch)
tree8dfba717e04086dac73ff0d12bbfc7941a45c4f6 /regress
parentd98b6f88020715384250baf4659eda6ce3ddb3f4 (diff)
set the NEGOTIATED flag in the flags argument rather than
squeezing it into the table.
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libssl/handshake/handshake_table.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/lib/libssl/handshake/handshake_table.c b/regress/lib/libssl/handshake/handshake_table.c
index fdd471692f0..fb7dd60bb7d 100644
--- a/regress/lib/libssl/handshake/handshake_table.c
+++ b/regress/lib/libssl/handshake/handshake_table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: handshake_table.c,v 1.4 2019/01/23 23:38:44 tb Exp $ */
+/* $OpenBSD: handshake_table.c,v 1.5 2019/01/24 03:48:09 tb Exp $ */
/*
* Copyright (c) 2019 Theo Buehler <tb@openbsd.org>
*
@@ -86,7 +86,7 @@ struct child {
static struct child stateinfo[][TLS13_NUM_MESSAGE_TYPES] = {
[CLIENT_HELLO] = {
- {SERVER_HELLO, NEGOTIATED, 0, 0},
+ {SERVER_HELLO, DEFAULT, 0, 0},
},
[SERVER_HELLO] = {
{SERVER_ENCRYPTED_EXTENSIONS, DEFAULT, 0, 0},
@@ -392,13 +392,13 @@ main(int argc, char *argv[])
},
};
struct child start = {
- CLIENT_HELLO, NEGOTIATED, 0, 0,
+ CLIENT_HELLO, DEFAULT, 0, 0,
};
struct child end = {
APPLICATION_DATA, DEFAULT, 0, 0,
};
struct child path[TLS13_NUM_MESSAGE_TYPES] = {{0}};
- uint8_t flags = 0;
+ uint8_t flags = NEGOTIATED;
unsigned int depth = 0;
int ch, print = 0;