Skip to content

Commit

Permalink
In TLSProxy::Proxy, specify TLSv1.2 as maximum allowable protocol
Browse files Browse the repository at this point in the history
Partially fixes openssl#5661

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#5662)
  • Loading branch information
levitte committed Mar 19, 2018
1 parent 1f71819 commit b4ea929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/perl/TLSProxy/Proxy.pm
Expand Up @@ -178,7 +178,7 @@ sub start
$pid = fork();
if ($pid == 0) {
my $execcmd = $self->execute
." s_server -no_comp -rev -engine ossltest -accept "
." s_server -max_protocol TLSv1.2 -no_comp -rev -engine ossltest -accept "
.($self->server_port)
." -cert ".$self->cert." -naccept ".$self->serverconnects;
unless ($self->supports_IPv6) {
Expand Down Expand Up @@ -215,7 +215,7 @@ sub clientstart
$echostr = "test";
}
my $execcmd = "echo ".$echostr." | ".$self->execute
." s_client -engine ossltest -connect "
." s_client -max_protocol TLSv1.2 -engine ossltest -connect "
.($self->proxy_addr).":".($self->proxy_port);
unless ($self->supports_IPv6) {
$execcmd .= " -4";
Expand Down

0 comments on commit b4ea929

Please sign in to comment.