Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Zheng <patrickzheng@microsoft.com>
  • Loading branch information
Two-Hearts committed Jul 17, 2024
1 parent e6e7c07 commit 1c7e785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verifier/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -722,8 +722,8 @@ func verifyRevocation(outcome *notation.VerificationOutcome, r revocation.Revoca
}

var authenticSigningTime time.Time
var err error
if outcome.EnvelopeContent.SignerInfo.SignedAttributes.SigningScheme == signature.SigningSchemeX509SigningAuthority {
var err error
authenticSigningTime, err = outcome.EnvelopeContent.SignerInfo.AuthenticSigningTime()
if err != nil {
return &notation.ValidationResult{
Expand Down

0 comments on commit 1c7e785

Please sign in to comment.