diff options
author | Matt Caswell <matt@openssl.org> | 2016-11-30 13:46:11 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-12-08 17:20:22 +0000 |
commit | a1448c26d2bbec390db4c00bf3867c4369af7d15 (patch) | |
tree | 2b613a4559635dcd3d98d1cc04bf697d182c1c60 /util/TLSProxy | |
parent | bc349281880c3f1da784cbc76b28f34d8ab10601 (diff) | |
download | openssl-a1448c26d2bbec390db4c00bf3867c4369af7d15.tar.gz |
Remove some spurious whitespace
Perl changes reviewed by Richard Levitte. Non-perl changes reviewed by Rich
Salz
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'util/TLSProxy')
-rw-r--r-- | util/TLSProxy/EncryptedExtensions.pm | 4 | ||||
-rw-r--r-- | util/TLSProxy/ServerHello.pm | 2 |
2 files changed, 3 insertions, 3 deletions
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; |