From f8a07f72e6def65cabe3c0324b54914852aeaa2f Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Thu, 12 Oct 2023 10:18:45 -0400 Subject: [PATCH] Update deprecated func call Signed-off-by: Cody Soyland --- pkg/testing/ca/ca.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/testing/ca/ca.go b/pkg/testing/ca/ca.go index df1e37ec..553e6df3 100644 --- a/pkg/testing/ca/ca.go +++ b/pkg/testing/ca/ca.go @@ -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 {