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 {