line |
true |
false |
branch |
17
|
0 |
10 |
unless $self->{'ua'}{'ssl_opts'} |
18
|
6 |
4 |
if (delete $ssl_opts{'verify_hostname'}) { } |
25
|
6 |
4 |
if ($ssl_opts{'SSL_verify_mode'}) |
26
|
0 |
0 |
unless (exists $ssl_opts{'SSL_ca_file'} or exists $ssl_opts{'SSL_ca_path'}) |
30
|
0 |
0 |
if ($@) |
31
|
0 |
0 |
if ($@ =~ m[^Can't locate Mozilla/CA\.pm]) |
67
|
1 |
13 |
if $common_name =~ /^\*\./ |
72
|
6 |
7 |
if ($san_name =~ /^\*\./) |
78
|
6 |
7 |
if ($common_name =~ /^$re\Q$san_name\E$/) |
98
|
1 |
2 |
unless scalar @sans |
105
|
1 |
1 |
if $me->_cn_match($common_name, $value) |
114
|
0 |
8 |
if (defined $check) |
118
|
0 |
0 |
unless (defined $subject and $subject =~ /$check/) |
120
|
0 |
0 |
unless $ok |
132
|
8 |
0 |
if ($sock->can('get_sslversion') and my $sslversion = $sock->get_sslversion) |
137
|
8 |
0 |
if ($cert) |
141
|
8 |
0 |
if (not $self->{'ssl_opts'}{'SSL_verify_mode'}) { } |
|
0 |
0 |
elsif (not $self->{'ssl_opts'}{'SSL_verifycn_scheme'}) { } |
161
|
0 |
6 |
unless $sock |