From a1448c26d2bbec390db4c00bf3867c4369af7d15 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 30 Nov 2016 13:46:11 +0000 Subject: Remove some spurious whitespace Perl changes reviewed by Richard Levitte. Non-perl changes reviewed by Rich Salz Reviewed-by: Rich Salz Reviewed-by: Richard Levitte --- util/TLSProxy/EncryptedExtensions.pm | 4 ++-- util/TLSProxy/ServerHello.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'util/TLSProxy') diff --git a/util/TLSProxy/EncryptedExtensions.pm b/util/TLSProxy/EncryptedExtensions.pm index d65338eaa5..82e6c5e5c7 100644 --- a/util/TLSProxy/EncryptedExtensions.pm +++ b/util/TLSProxy/EncryptedExtensions.pm @@ -20,7 +20,7 @@ sub new $records, $startoffset, $message_frag_lens) = @_; - + my $self = $class->SUPER::new( $server, TLSProxy::Message::MT_ENCRYPTED_EXTENSIONS, @@ -46,7 +46,7 @@ sub parse my $extension_data; if ($extensions_len != 0) { $extension_data = substr($self->data, 2); - + if (length($extension_data) != $extensions_len) { die "Invalid extension length\n"; } diff --git a/util/TLSProxy/ServerHello.pm b/util/TLSProxy/ServerHello.pm index 40f04c2313..5a038c902b 100644 --- a/util/TLSProxy/ServerHello.pm +++ b/util/TLSProxy/ServerHello.pm @@ -51,7 +51,7 @@ sub parse $server_version = TLSProxy::Record::VERS_TLS_1_3; TLSProxy::Proxy->is_tls13(1); } - + my $random = substr($self->data, $ptr, 32); $ptr += 32; my $session_id_len = 0; -- cgit v1.2.3