Skip to content

Commit

Permalink
ci: fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Glastra <[email protected]>
  • Loading branch information
matglas committed Aug 22, 2024
1 parent 7bbefd6 commit 781e5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsse/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (e Envelope) Verify(opts ...VerificationOption) ([]CheckedVerifier, error)
checkedVerifiers := make([]CheckedVerifier, 0)
verified := 0
for _, sig := range e.Signatures {
if sig.Certificate != nil && len(sig.Certificate) > 0 {
if len(sig.Certificate) > 0 {
cert, err := cryptoutil.TryParseCertificate(sig.Certificate)
if err != nil {
continue
Expand Down

0 comments on commit 781e5eb

Please sign in to comment.