diff options
author | tb <> | 2019-04-05 20:25:25 +0000 |
---|---|---|
committer | tb <> | 2019-04-05 20:25:25 +0000 |
commit | be3e4fdb7c998a67f1d0f83bd2547cd3aab6514d (patch) | |
tree | c2dd27d7ab4dad9c268c5bda8e15fc0a352b9885 /src/regress/lib/libssl/handshake/handshake_table.c | |
parent | 55bc1fb8c12e9ebee84e4f4cd679dc16b3000b2c (diff) | |
download | openbsd-be3e4fdb7c998a67f1d0f83bd2547cd3aab6514d.tar.gz openbsd-be3e4fdb7c998a67f1d0f83bd2547cd3aab6514d.tar.bz2 openbsd-be3e4fdb7c998a67f1d0f83bd2547cd3aab6514d.zip |
Add SERVER_HELLO_RETRY state
Diffstat (limited to 'src/regress/lib/libssl/handshake/handshake_table.c')
-rw-r--r-- | src/regress/lib/libssl/handshake/handshake_table.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/regress/lib/libssl/handshake/handshake_table.c b/src/regress/lib/libssl/handshake/handshake_table.c index dc8e8575ee..494f72fd27 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.10 2019/02/13 17:04:17 tb Exp $ */ | 1 | /* $OpenBSD: handshake_table.c,v 1.11 2019/04/05 20:25:25 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2019 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2019 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -93,6 +93,9 @@ static struct child stateinfo[][TLS13_NUM_MESSAGE_TYPES] = { | |||
93 | {CLIENT_HELLO_RETRY, WITH_HRR, 0, 0}, | 93 | {CLIENT_HELLO_RETRY, WITH_HRR, 0, 0}, |
94 | }, | 94 | }, |
95 | [CLIENT_HELLO_RETRY] = { | 95 | [CLIENT_HELLO_RETRY] = { |
96 | {SERVER_HELLO_RETRY, DEFAULT, 0, 0}, | ||
97 | }, | ||
98 | [SERVER_HELLO_RETRY] = { | ||
96 | {SERVER_ENCRYPTED_EXTENSIONS, DEFAULT, 0, 0}, | 99 | {SERVER_ENCRYPTED_EXTENSIONS, DEFAULT, 0, 0}, |
97 | }, | 100 | }, |
98 | [SERVER_ENCRYPTED_EXTENSIONS] = { | 101 | [SERVER_ENCRYPTED_EXTENSIONS] = { |
@@ -221,6 +224,9 @@ mt2str(enum tls13_message_type mt) | |||
221 | case SERVER_HELLO: | 224 | case SERVER_HELLO: |
222 | ret = "SERVER_HELLO"; | 225 | ret = "SERVER_HELLO"; |
223 | break; | 226 | break; |
227 | case SERVER_HELLO_RETRY: | ||
228 | ret = "SERVER_HELLO_RETRY"; | ||
229 | break; | ||
224 | case SERVER_NEW_SESSION_TICKET: | 230 | case SERVER_NEW_SESSION_TICKET: |
225 | ret = "SERVER_NEW_SESSION_TICKET"; | 231 | ret = "SERVER_NEW_SESSION_TICKET"; |
226 | break; | 232 | break; |