RA: Replace IsCAAValid call with DoCAA (#7962)
Replace the non-MPIC-compliant IsCAAValid VA method with the correct MPIC-compliant DoCAA VA method when the EnforceMPIC feature is enabled. This fixes the mistake introduced in #7870.
This commit is contained in:
parent
87a52d6fad
commit
c971a053a2
2
ra/ra.go
2
ra/ra.go
|
@ -1376,7 +1376,7 @@ func (ra *RegistrationAuthorityImpl) checkDCVAndCAA(ctx context.Context, dcvReq
|
||||||
return doDCVRes.Problem, doDCVRes.Records, nil
|
return doDCVRes.Problem, doDCVRes.Records, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
doCAAResp, err := ra.VA.IsCAAValid(ctx, caaReq)
|
doCAAResp, err := ra.VA.DoCAA(ctx, caaReq)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue