mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 20:26:19 +08:00
pkcs7: fallback change
This commit is contained in:
parent
1cf8782870
commit
531388ce5e
@ -125,7 +125,7 @@ func createTestCertificateByIssuer(name string, issuer *certKeyPair, sigAlg x509
|
|||||||
}
|
}
|
||||||
if issuer != nil {
|
if issuer != nil {
|
||||||
issuerCert = issuer.Certificate
|
issuerCert = issuer.Certificate
|
||||||
issuerKey = issuer.PrivateKey
|
issuerKey = *issuer.PrivateKey
|
||||||
}
|
}
|
||||||
|
|
||||||
switch sigAlg {
|
switch sigAlg {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user