|
@@ -36,7 +36,7 @@ func (r *RevokeRequest) Validate() (err error) {
|
|
|
}
|
|
}
|
|
|
sn, ok := new(big.Int).SetString(r.Serial, 0)
|
|
sn, ok := new(big.Int).SetString(r.Serial, 0)
|
|
|
if !ok {
|
|
if !ok {
|
|
|
- return errs.BadRequest("'%s' is not a valid serial number - use a base 10 representation or add a prefix indicating the base", r.Serial)
|
|
|
|
|
|
|
+ return errs.BadRequest("'%s' is not a valid serial number - use a base 10 representation or a base 16 representation with '0x' prefix", r.Serial)
|
|
|
}
|
|
}
|
|
|
r.Serial = sn.String()
|
|
r.Serial = sn.String()
|
|
|
if r.ReasonCode < ocsp.Unspecified || r.ReasonCode > ocsp.AACompromise {
|
|
if r.ReasonCode < ocsp.Unspecified || r.ReasonCode > ocsp.AACompromise {
|