summaryrefslogtreecommitdiffstats
path: root/util/TLSProxy/Message.pm
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-12-28 15:01:57 +0000
committerMatt Caswell <matt@openssl.org>2016-12-29 13:32:54 +0000
commit397f4f78760480f982adaeed98ccb10bda4d3fbb (patch)
treee585c2b778e89cf433a41633e04a825e5130c5e4 /util/TLSProxy/Message.pm
parent3b58c54f26b826abd55a513494ef892e7ad069ad (diff)
Add a test to check the EC point formats extension appears when we expect
The previous commit fixed a bug where the EC point formats extensions did not appear in the ServerHello. This should have been caught by 70-test_sslmessages but that test never tries an EC ciphersuite. This updates the test to do that. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2153)
Diffstat (limited to 'util/TLSProxy/Message.pm')
-rw-r--r--util/TLSProxy/Message.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/TLSProxy/Message.pm b/util/TLSProxy/Message.pm
index e5c42c83c4..7837787a03 100644
--- a/util/TLSProxy/Message.pm
+++ b/util/TLSProxy/Message.pm
@@ -83,6 +83,10 @@ use constant {
EXT_DUPLICATE_EXTENSION => 0xfde8
};
+use constant {
+ CIPHER_ADH_AES_128_SHA => 0x03000034
+};
+
my $payload = "";
my $messlen = -1;
my $mt;