Skip to content

Commit

Permalink
Merge pull request #4416 from LibreSign/fix/var-name
Browse files Browse the repository at this point in the history
fix: var name
  • Loading branch information
vitormattos authored Jan 20, 2025
2 parents 8bd9f03 + 6cabed1 commit d7ef072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Handler/CertificateEngine/AEngineHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function readCertificate(string $certificate, string $privateKey): array
$certContent = $this->opensslPkcs12Read($certificate, $privateKey);

$return = $this->parseX509($certContent['cert']);
if (isset($return['extracerts'])) {
if (isset($certContent['extracerts'])) {
foreach ($certContent['extracerts'] as $extraCert) {
$return['extracerts'][] = $this->parseX509($extraCert);
}
Expand Down

0 comments on commit d7ef072

Please sign in to comment.