From 531388ce5ec510a27acc79c14a920874666479bf Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Mon, 9 Dec 2024 19:59:41 +0800 Subject: [PATCH] pkcs7: fallback change --- pkcs7/pkcs7_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkcs7/pkcs7_test.go b/pkcs7/pkcs7_test.go index 0592635..ec707d6 100644 --- a/pkcs7/pkcs7_test.go +++ b/pkcs7/pkcs7_test.go @@ -125,7 +125,7 @@ func createTestCertificateByIssuer(name string, issuer *certKeyPair, sigAlg x509 } if issuer != nil { issuerCert = issuer.Certificate - issuerKey = issuer.PrivateKey + issuerKey = *issuer.PrivateKey } switch sigAlg {