mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 10:19:34 +00:00
29 lines
757 B
Diff
29 lines
757 B
Diff
diff --git a/va/va.go b/va/va.go
|
|
index 5e7732d69..9a908c255 100644
|
|
--- a/va/va.go
|
|
+++ b/va/va.go
|
|
@@ -217,6 +217,7 @@ type ValidationAuthorityImpl struct {
|
|
perspective string
|
|
rir string
|
|
isReservedIPFunc func(ip net.IP) bool
|
|
+ labcaDomains []string
|
|
|
|
metrics *vaMetrics
|
|
}
|
|
@@ -237,6 +238,7 @@ func NewValidationAuthorityImpl(
|
|
perspective string,
|
|
rir string,
|
|
reservedIPChecker func(ip net.IP) bool,
|
|
+ labcaDomains []string,
|
|
) (*ValidationAuthorityImpl, error) {
|
|
|
|
if len(accountURIPrefixes) == 0 {
|
|
@@ -274,6 +276,7 @@ func NewValidationAuthorityImpl(
|
|
perspective: perspective,
|
|
rir: rir,
|
|
isReservedIPFunc: reservedIPChecker,
|
|
+ labcaDomains: labcaDomains,
|
|
}
|
|
|
|
return va, nil
|