From aeab7387b647d0fbe647e6f45eb040a25973d7df Mon Sep 17 00:00:00 2001 From: tb <> Date: Thu, 24 Jan 2019 03:48:09 +0000 Subject: set the NEGOTIATED flag in the flags argument rather than squeezing it into the table. --- src/regress/lib/libssl/handshake/handshake_table.c | 8 ++++---- 1 file 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 @@ -/* $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 * @@ -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; -- cgit v1.2.3-55-g6feb