summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2019-04-05 20:25:25 +0000
committertb <tb@openbsd.org>2019-04-05 20:25:25 +0000
commit397bafb9e90f1e0cab41cd9849cde5cd60d53299 (patch)
tree6bdb5eedabd503c9bced91c3b8afc199539c7990
parentBy design, our state machine is a DAG contrary to the state machine in (diff)
downloadwireguard-openbsd-397bafb9e90f1e0cab41cd9849cde5cd60d53299.tar.xz
wireguard-openbsd-397bafb9e90f1e0cab41cd9849cde5cd60d53299.zip
Add SERVER_HELLO_RETRY state
-rw-r--r--regress/lib/libssl/handshake/handshake_table.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/lib/libssl/handshake/handshake_table.c b/regress/lib/libssl/handshake/handshake_table.c
index dc8e8575ee1..494f72fd27c 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.10 2019/02/13 17:04:17 tb Exp $ */
+/* $OpenBSD: handshake_table.c,v 1.11 2019/04/05 20:25:25 tb Exp $ */
/*
* Copyright (c) 2019 Theo Buehler <tb@openbsd.org>
*
@@ -93,6 +93,9 @@ static struct child stateinfo[][TLS13_NUM_MESSAGE_TYPES] = {
{CLIENT_HELLO_RETRY, WITH_HRR, 0, 0},
},
[CLIENT_HELLO_RETRY] = {
+ {SERVER_HELLO_RETRY, DEFAULT, 0, 0},
+ },
+ [SERVER_HELLO_RETRY] = {
{SERVER_ENCRYPTED_EXTENSIONS, DEFAULT, 0, 0},
},
[SERVER_ENCRYPTED_EXTENSIONS] = {
@@ -221,6 +224,9 @@ mt2str(enum tls13_message_type mt)
case SERVER_HELLO:
ret = "SERVER_HELLO";
break;
+ case SERVER_HELLO_RETRY:
+ ret = "SERVER_HELLO_RETRY";
+ break;
case SERVER_NEW_SESSION_TICKET:
ret = "SERVER_NEW_SESSION_TICKET";
break;