Files
labca/ra_ra.patch
2020-10-14 20:41:01 +02:00

22 lines
701 B
Diff

diff --git a/ra/ra.go b/ra/ra.go
index ca21ace0e..6d90d7eff 100644
--- a/ra/ra.go
+++ b/ra/ra.go
@@ -29,7 +29,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"
rapb "github.com/letsencrypt/boulder/ra/proto"
"github.com/letsencrypt/boulder/ratelimit"
@@ -400,7 +399,7 @@ func (ra *RegistrationAuthorityImpl) validateContacts(ctx context.Context, conta
contact,
)
}
- if err := policy.ValidEmail(parsed.Opaque); err != nil {
+ if err := ra.PA.ValidEmail(parsed.Opaque); err != nil {
return err
}
}