Skip to content

Commit 4629bbe

Browse files
committed
refactor(handler): forward CrlRevocationChecker in OpenSslHandler
Same as CfsslHandler: adds the parameter and delegates to the parent constructor so the DI container can wire CrlRevocationChecker automatically. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent e704bab commit 4629bbe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/Handler/CertificateEngine/OpenSslHandler.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use OCA\Libresign\Exception\LibresignException;
1515
use OCA\Libresign\Service\CaIdentifierService;
1616
use OCA\Libresign\Service\CertificatePolicyService;
17+
use OCA\Libresign\Service\Crl\CrlRevocationChecker;
1718
use OCA\Libresign\Service\SerialNumberService;
1819
use OCA\Libresign\Service\SubjectAlternativeNameService;
1920
use OCP\Files\AppData\IAppDataFactory;
@@ -45,6 +46,7 @@ public function __construct(
4546
protected LoggerInterface $logger,
4647
protected CrlMapper $crlMapper,
4748
protected SubjectAlternativeNameService $subjectAlternativeNameService,
49+
CrlRevocationChecker $crlRevocationChecker,
4850
) {
4951
parent::__construct(
5052
$config,
@@ -56,6 +58,7 @@ public function __construct(
5658
$urlGenerator,
5759
$caIdentifierService,
5860
$logger,
61+
$crlRevocationChecker,
5962
);
6063
}
6164

0 commit comments

Comments
 (0)