This commit is contained in:
wassan128 2019-09-06 09:55:09 +09:00
parent 3b7292a08f
commit 42e8619830

View file

@ -445,7 +445,7 @@ func (p *provider) validateStatus(status *status) error {
func (p *provider) validateSubject(subject *subject, inResponseTo string) error {
// Optional according to the spec, but again, we're going to be strict here.
if len(subject.SubjectConfirmations) == 0 {
return fmt.Errorf("Subject contained no SubjectConfrimations")
return fmt.Errorf("Subject contained no SubjectConfirmations")
}
var errs []error