Skip to content

Commit 8ccb507

Browse files
Fix typo
1 parent 7dd35db commit 8ccb507

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/GLPI/Agent/HTTP/Client.pm

+3-3
Original file line numberDiff line numberDiff line change
@@ -694,9 +694,9 @@ sub _KeyChain_or_KeyStore_Export {
694694

695695
# Like Mozilla::CA, but using certs from /etc/ssl/certs
696696
if ($OSNAME !~ /^darwin|MSWin32$/) {
697-
my $cacert = "/etc/ssl/certs/ca-certificates.crt";
698-
push @certs, IO::Socket::SSL::Utils::PEM_file2certs($cacert)
699-
if -e $cacert;
697+
my $sslcacert = "/etc/ssl/certs/ca-certificates.crt";
698+
push @certs, IO::Socket::SSL::Utils::PEM_file2certs($sslcacert)
699+
if -e $sslcacert;
700700
}
701701

702702
# Always include default CA file from Mozilla::CA

0 commit comments

Comments
 (0)