Return a plain error from RA
This commit is contained in:
parent
bd1f8d1e42
commit
0da6d48b06
|
|
@ -610,7 +610,7 @@ func (ra *RegistrationAuthorityImpl) UpdateRegistration(base core.Registration,
|
|||
func (ra *RegistrationAuthorityImpl) UpdateAuthorization(base core.Authorization, challengeIndex int, response core.Challenge) (authz core.Authorization, err error) {
|
||||
// Refuse to update expired authorizations
|
||||
if base.Expires == nil || base.Expires.Before(ra.clk.Now()) {
|
||||
err = core.MalformedRequestError("Expired authorization")
|
||||
err = fmt.Errorf("Expired authorization")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue