Skip to content

Commit

Permalink
dont overwrite tls_option
Browse files Browse the repository at this point in the history
  • Loading branch information
tagg committed Feb 9, 2024
1 parent 7a1cd71 commit 77bf92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/IOLoop/TLS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ sub _expand {
}
else {
$tls->{SSL_hostname} = IO::Socket::SSL->can_client_sni ? $args->{address} : '';
$tls->{SSL_verifycn_name} = $args->{address};
$tls->{SSL_verifycn_name} ||= $args->{address};
}

return $tls;
Expand Down

0 comments on commit 77bf92d

Please sign in to comment.