mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 12:16:20 +08:00
MAGIC - disable go1.5+ functions first
This commit is contained in:
parent
5a96d64386
commit
99767f315f
@ -2306,6 +2306,7 @@ func checkSignature(c *x509.CertificateRequest, publicKey *ecdsa.PublicKey) (err
|
|||||||
// The issuer distinguished name CRL field and authority key identifier
|
// The issuer distinguished name CRL field and authority key identifier
|
||||||
// extension are populated using the issuer certificate. issuer must have
|
// extension are populated using the issuer certificate. issuer must have
|
||||||
// SubjectKeyId set.
|
// SubjectKeyId set.
|
||||||
|
/*
|
||||||
func CreateRevocationList(rand io.Reader, template *x509.RevocationList, issuer *Certificate, priv crypto.Signer) ([]byte, error) {
|
func CreateRevocationList(rand io.Reader, template *x509.RevocationList, issuer *Certificate, priv crypto.Signer) ([]byte, error) {
|
||||||
if template == nil {
|
if template == nil {
|
||||||
return nil, errors.New("x509: template can not be nil")
|
return nil, errors.New("x509: template can not be nil")
|
||||||
@ -2404,3 +2405,4 @@ func CreateRevocationList(rand io.Reader, template *x509.RevocationList, issuer
|
|||||||
SignatureValue: asn1.BitString{Bytes: signature, BitLength: len(signature) * 8},
|
SignatureValue: asn1.BitString{Bytes: signature, BitLength: len(signature) * 8},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user