Skip to content

Commit

Permalink
Update vdr/didx509/resolver.go
Browse files Browse the repository at this point in the history
Co-authored-by: Gerard Snaauw <33763579+gerardsn@users.noreply.github.com>
  • Loading branch information
reinkrul and gerardsn authored Dec 12, 2024
1 parent b33b3b6 commit 0e2ea6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vdr/didx509/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (r Resolver) Resolve(id did.DID, metadata *resolver.ResolveMetadata) (*did.
return nil, nil, err
}
if bytes.Equal(caFingerprintCert.Raw, validationCert.Raw) {
return nil, nil, fmt.Errorf("did:509 ca-fingerprint refers to leaf certificate, must be either root or intermediate CA certificate")
return nil, nil, fmt.Errorf("did:x509 ca-fingerprint refers to leaf certificate, must be either root or intermediate CA certificate")
}

// Validate certificate chain, checking signatures and whether the chain is complete
Expand Down

0 comments on commit 0e2ea6d

Please sign in to comment.