summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2019-01-24 03:48:09 +0000
committertb <>2019-01-24 03:48:09 +0000
commitaeab7387b647d0fbe647e6f45eb040a25973d7df (patch)
tree310bdc25066fab8c024469e2b9f51c2c173b4298 /src
parent10e3b663a1750bc234861ed33ad78e8088b5cb47 (diff)
downloadopenbsd-aeab7387b647d0fbe647e6f45eb040a25973d7df.tar.gz
openbsd-aeab7387b647d0fbe647e6f45eb040a25973d7df.tar.bz2
openbsd-aeab7387b647d0fbe647e6f45eb040a25973d7df.zip
set the NEGOTIATED flag in the flags argument rather than
squeezing it into the table.
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libssl/handshake/handshake_table.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libssl/handshake/handshake_table.c b/src/regress/lib/libssl/handshake/handshake_table.c
index fdd471692f..fb7dd60bb7 100644
--- a/src/regress/lib/libssl/handshake/handshake_table.c
+++ b/src/regress/lib/libssl/handshake/handshake_table.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: handshake_table.c,v 1.4 2019/01/23 23:38:44 tb Exp $ */ 1/* $OpenBSD: handshake_table.c,v 1.5 2019/01/24 03:48:09 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2019 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2019 Theo Buehler <tb@openbsd.org>
4 * 4 *
@@ -86,7 +86,7 @@ struct child {
86 86
87static struct child stateinfo[][TLS13_NUM_MESSAGE_TYPES] = { 87static struct child stateinfo[][TLS13_NUM_MESSAGE_TYPES] = {
88 [CLIENT_HELLO] = { 88 [CLIENT_HELLO] = {
89 {SERVER_HELLO, NEGOTIATED, 0, 0}, 89 {SERVER_HELLO, DEFAULT, 0, 0},
90 }, 90 },
91 [SERVER_HELLO] = { 91 [SERVER_HELLO] = {
92 {SERVER_ENCRYPTED_EXTENSIONS, DEFAULT, 0, 0}, 92 {SERVER_ENCRYPTED_EXTENSIONS, DEFAULT, 0, 0},
@@ -392,13 +392,13 @@ main(int argc, char *argv[])
392 }, 392 },
393 }; 393 };
394 struct child start = { 394 struct child start = {
395 CLIENT_HELLO, NEGOTIATED, 0, 0, 395 CLIENT_HELLO, DEFAULT, 0, 0,
396 }; 396 };
397 struct child end = { 397 struct child end = {
398 APPLICATION_DATA, DEFAULT, 0, 0, 398 APPLICATION_DATA, DEFAULT, 0, 0,
399 }; 399 };
400 struct child path[TLS13_NUM_MESSAGE_TYPES] = {{0}}; 400 struct child path[TLS13_NUM_MESSAGE_TYPES] = {{0}};
401 uint8_t flags = 0; 401 uint8_t flags = NEGOTIATED;
402 unsigned int depth = 0; 402 unsigned int depth = 0;
403 int ch, print = 0; 403 int ch, print = 0;
404 404