summaryrefslogtreecommitdiffstats
path: root/util/TLSProxy
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-05-08 16:05:49 +0100
committerMatt Caswell <matt@openssl.org>2017-05-09 17:23:58 +0100
commit5e3766e2f15b3a8ea696b194c32a141cbe668d4e (patch)
treecc922065a9d0501adc5ee6156a037a13df9b93c2 /util/TLSProxy
parent66d4bf6b20d8769a3c2bf1a0c4cb3155365601e7 (diff)
Add test for no change following an HRR
Verify that we fail if we receive an HRR but no change will result in ClientHello2. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3414)
Diffstat (limited to 'util/TLSProxy')
-rw-r--r--util/TLSProxy/Message.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/TLSProxy/Message.pm b/util/TLSProxy/Message.pm
index 3c19845164..4cb594cfef 100644
--- a/util/TLSProxy/Message.pm
+++ b/util/TLSProxy/Message.pm
@@ -86,6 +86,7 @@ use constant {
# (i.e. not read), and even then only when enabled. We use it to test
# handling of duplicate extensions.
EXT_DUPLICATE_EXTENSION => 0xfde8,
+ EXT_UNKNOWN => 0xfffe,
#Unknown extension that should appear last
EXT_FORCE_LAST => 0xffff
};