Files
labca/patches/ra_ra.patch
2024-08-31 16:04:55 +02:00

22 lines
692 B
Diff

diff --git a/ra/ra.go b/ra/ra.go
index 513f2d444..006de7f4f 100644
--- a/ra/ra.go
+++ b/ra/ra.go
@@ -44,7 +44,6 @@ import (
"github.com/letsencrypt/boulder/issuance"
blog "github.com/letsencrypt/boulder/log"
"github.com/letsencrypt/boulder/metrics"
- "github.com/letsencrypt/boulder/policy"
"github.com/letsencrypt/boulder/probs"
pubpb "github.com/letsencrypt/boulder/publisher/proto"
rapb "github.com/letsencrypt/boulder/ra/proto"
@@ -574,7 +573,7 @@ func (ra *RegistrationAuthorityImpl) validateContacts(contacts []string) error {
contact,
)
}
- err = policy.ValidEmail(parsed.Opaque)
+ err = ra.PA.ValidEmail(parsed.Opaque)
if err != nil {
return err
}