mirror of https://github.com/openssl/openssl.git
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>
This commit is contained in:
parent
bc34928188
commit
a1448c26d2
|
|
@ -85,7 +85,7 @@ typedef struct {
|
|||
* The extension context is defined by a series of flags which specify which
|
||||
* messages the extension is relevant to. These flags also specify whether the
|
||||
* extension is relevant to a paricular protocol or protocol version.
|
||||
*
|
||||
*
|
||||
* TODO(TLS1.3): Make sure we have a test to check the consistency of these
|
||||
*/
|
||||
static const EXTENSION_DEFINITION ext_defs[] = {
|
||||
|
|
@ -638,7 +638,7 @@ int tls_construct_extensions(SSL *s, WPACKET *pkt, unsigned int context,
|
|||
/*
|
||||
* We already initialised the custom extensions during ClientHello
|
||||
* parsing.
|
||||
*
|
||||
*
|
||||
* TODO(TLS1.3): We're going to need a new custom extension mechanism
|
||||
* for TLS1.3, so that custom extensions can specify which of the
|
||||
* multiple message they wish to add themselves to.
|
||||
|
|
|
|||
|
|
@ -802,7 +802,7 @@ int tls_construct_server_use_srtp(SSL *s, WPACKET *pkt, int *al)
|
|||
{
|
||||
if (s->srtp_profile == NULL)
|
||||
return 1;
|
||||
|
||||
|
||||
if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_use_srtp)
|
||||
|| !WPACKET_start_sub_packet_u16(pkt)
|
||||
|| !WPACKET_put_bytes_u16(pkt, 2)
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ $proxy->start();
|
|||
checkhandshake($proxy, recipes::checkhandshake::DEFAULT_HANDSHAKE,
|
||||
recipes::checkhandshake::DEFAULT_EXTENSIONS,
|
||||
"ALPN handshake test (server)");
|
||||
|
||||
|
||||
#Test 13: ALPN handshake (client and server)
|
||||
$proxy->clear();
|
||||
$proxy->clientflags("-no_tls1_3 -alpn test");
|
||||
|
|
@ -334,7 +334,7 @@ $proxy->start();
|
|||
checkhandshake($proxy, recipes::checkhandshake::DEFAULT_HANDSHAKE,
|
||||
recipes::checkhandshake::DEFAULT_EXTENSIONS,
|
||||
"NPN handshake test (server)");
|
||||
|
||||
|
||||
#Test 19: NPN handshake (client and server)
|
||||
$proxy->clear();
|
||||
$proxy->clientflags("-no_tls1_3 -nextprotoneg test");
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ $proxy->start();
|
|||
checkhandshake($proxy, recipes::checkhandshake::DEFAULT_HANDSHAKE,
|
||||
recipes::checkhandshake::DEFAULT_EXTENSIONS,
|
||||
"ALPN handshake test (server)");
|
||||
|
||||
|
||||
#Test 12: ALPN handshake (client and server)
|
||||
$proxy->clear();
|
||||
$proxy->clientflags("-alpn test");
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue