Skip to content

Commit

Permalink
Update deprecated func call
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Soyland <[email protected]>
  • Loading branch information
codysoyland committed Oct 12, 2023
1 parent d862c3d commit f8a07f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/testing/ca/ca.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ func generateTimestampingResponse(sig []byte, tsaCert *x509.Certificate, tsaKey
ExtraExtensions: req.Extensions,
}

return tsTemplate.CreateResponse(tsaCert, tsaKey)
return tsTemplate.CreateResponseWithOpts(tsaCert, tsaKey, hash)
}

func (ca *VirtualSigstore) TSACertificateAuthorities() []root.CertificateAuthority {
Expand Down

0 comments on commit f8a07f7

Please sign in to comment.