Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: laurentsimon <laurentsimon@google.com>
  • Loading branch information
laurentsimon committed May 5, 2023
1 parent 373587e commit 395d097
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion verifiers/internal/gha/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ func getHosted(cert *x509.Certificate) (*Hosted, error) {
}

func validateClaimsEqual(deprecated, existing string) error {
// derecated may be empty, but it more likely the cert is old and 'new' is empty.
if deprecated != "" && existing != "" && deprecated != existing {
return fmt.Errorf("%w: '%v' != '%v'", serrors.ErrorInvalidFormat, deprecated, existing)
}
Expand Down

0 comments on commit 395d097

Please sign in to comment.