Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x509-cert: use
ErrorKind::Value
for overlength serial (#988)
This at least surfaces that the error has to do with an integer field, which would've been helpful with tracing it down to SerialNumber. `Overlength` has a bit of a specific meaning in the context of the `ErrorKind`, namely it's used for framing errors, which isn't what's occurring here. Perhaps the `der` documentation should help clarify this.
- Loading branch information