summaryrefslogtreecommitdiffstats
path: root/util/TLSProxy
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-11-17 18:00:17 +0000
committerMatt Caswell <matt@openssl.org>2016-11-29 23:31:10 +0000
commitbebc0c7d85a7484f1c5d0123f24cdc3c6b150243 (patch)
tree61127e8e2f69031b9a82c42d972960b6735419e2 /util/TLSProxy
parent54d028aa0f5dc50ec64a8d99ed43b81519b0443b (diff)
Use the TLSv1.3 nonce construction
This updates the record layer to use the TLSv1.3 style nonce construciton. It also updates TLSProxy and ossltest to be able to recognise the new layout. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'util/TLSProxy')
-rw-r--r--util/TLSProxy/Record.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/util/TLSProxy/Record.pm b/util/TLSProxy/Record.pm
index 7189035fb4..5a35925aeb 100644
--- a/util/TLSProxy/Record.pm
+++ b/util/TLSProxy/Record.pm
@@ -242,8 +242,6 @@ sub decrypt()
#an unecrypted alert, so don't try to decrypt
return $data if (length($data) == 2);
}
- #8 bytes for a GCM IV
- $data = substr($data, 8);
$mactaglen = 16;
} elsif ($self->version >= VERS_TLS_1_1()) {
#16 bytes for a standard IV