diff options
author | Matt Caswell <matt@openssl.org> | 2017-03-15 20:35:23 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-03-16 14:20:38 +0000 |
commit | c35cb287cbda087cc203be86d74d35ea1b5eeac6 (patch) | |
tree | ebd8dcf3a36178a8a5fc3ec0ba10a6e22bfde502 /util | |
parent | 807551ac0dfe90c7953381df445205833ee7a1af (diff) |
Add some HRR tests
Check that we handle changes of ciphersuite between HRR and ServerHello
correctly.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2895)
Diffstat (limited to 'util')
-rw-r--r-- | util/TLSProxy/HelloRetryRequest.pm | 2 | ||||
-rw-r--r-- | util/TLSProxy/Message.pm | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/util/TLSProxy/HelloRetryRequest.pm b/util/TLSProxy/HelloRetryRequest.pm index 94fe4ee802..c4125b7a16 100644 --- a/util/TLSProxy/HelloRetryRequest.pm +++ b/util/TLSProxy/HelloRetryRequest.pm @@ -81,6 +81,8 @@ sub parse $self->ciphersuite($ciphersuite); $self->extension_data(\%extensions); + print " Server Version:".$server_version."\n"; + print " Ciphersuite:".$ciphersuite."\n"; print " Extensions Len:".$extensions_len."\n"; } diff --git a/util/TLSProxy/Message.pm b/util/TLSProxy/Message.pm index 39123fabef..3c19845164 100644 --- a/util/TLSProxy/Message.pm +++ b/util/TLSProxy/Message.pm @@ -92,7 +92,9 @@ use constant { use constant { CIPHER_DHE_RSA_AES_128_SHA => 0x0033, - CIPHER_ADH_AES_128_SHA => 0x0034 + CIPHER_ADH_AES_128_SHA => 0x0034, + CIPHER_TLS13_AES_128_GCM_SHA256 => 0x1301, + CIPHER_TLS13_AES_256_GCM_SHA384 => 0x1302 }; my $payload = ""; |