Skip to content

Commit 7746879

Browse files
authored
Merge pull request libwww-perl#29 from rwstauner/mozca-error
Fix operator when checking for Mozilla::CA error
2 parents 7eef45c + 73203a7 commit 7746879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/LWP/Protocol/https.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ sub _extra_sock_opts
2929
require Mozilla::CA;
3030
};
3131
if ($@) {
32-
if ($@ =! /^Can't locate Mozilla\/CA\.pm/) {
32+
if ($@ =~ /^Can't locate Mozilla\/CA\.pm/) {
3333
$@ = <<'EOT';
3434
Can't verify SSL peers without knowing which Certificate Authorities to trust
3535

0 commit comments

Comments
 (0)