diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2019-04-05 20:25:26 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2019-04-05 20:25:26 +0000 |
commit | 61ad01285cd81f6e4aba6d6ae4ee640dbd6ecb52 (patch) | |
tree | 564fc1ccc1746f48b3aed30c61ea0fa1bc45377d /regress | |
parent | 50bcdfec5bb7bbbe91059a7ddafa64957f5aab13 (diff) |
Add SERVER_HELLO_RETRY state
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libssl/handshake/handshake_table.c | 8 |
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; |