mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 10:19:34 +00:00
29 lines
814 B
Diff
29 lines
814 B
Diff
diff --git a/va/va.go b/va/va.go
|
|
index ccaa28558..433fc2c22 100644
|
|
--- a/va/va.go
|
|
+++ b/va/va.go
|
|
@@ -205,6 +205,7 @@ type ValidationAuthorityImpl struct {
|
|
rir string
|
|
isReservedIPFunc func(netip.Addr) error
|
|
allowRestrictedAddrs bool
|
|
+ labcaDomains []string
|
|
|
|
metrics *vaMetrics
|
|
}
|
|
@@ -225,6 +226,7 @@ func NewValidationAuthorityImpl(
|
|
perspective string,
|
|
rir string,
|
|
reservedIPChecker func(netip.Addr) error,
|
|
+ labcaDomains []string,
|
|
slowRemoteTimeout time.Duration,
|
|
allowRestrictedAddrs bool,
|
|
) (*ValidationAuthorityImpl, error) {
|
|
@@ -265,6 +267,7 @@ func NewValidationAuthorityImpl(
|
|
rir: rir,
|
|
isReservedIPFunc: reservedIPChecker,
|
|
allowRestrictedAddrs: allowRestrictedAddrs,
|
|
+ labcaDomains: labcaDomains,
|
|
}
|
|
|
|
return va, nil
|