pkcs7: fallback change

This commit is contained in:
Sun Yimin 2024-12-09 19:59:41 +08:00 committed by GitHub
parent 1cf8782870
commit 531388ce5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {