Merge pull request #1543 from wassan128/fix-typo

Fix typo
This commit is contained in:
Stephan Renatus 2019-09-06 08:14:29 +02:00 committed by GitHub
commit 8427f0f15c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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