From 99767f315fe059416ba1b1c8724cd22e4c5f1aad Mon Sep 17 00:00:00 2001 From: Emman Date: Fri, 11 Jun 2021 09:34:45 +0800 Subject: [PATCH] MAGIC - disable go1.5+ functions first --- smx509/x509.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smx509/x509.go b/smx509/x509.go index 14e5b65..d9226db 100644 --- a/smx509/x509.go +++ b/smx509/x509.go @@ -2306,6 +2306,7 @@ func checkSignature(c *x509.CertificateRequest, publicKey *ecdsa.PublicKey) (err // The issuer distinguished name CRL field and authority key identifier // extension are populated using the issuer certificate. issuer must have // SubjectKeyId set. +/* func CreateRevocationList(rand io.Reader, template *x509.RevocationList, issuer *Certificate, priv crypto.Signer) ([]byte, error) { if template == 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}, }) } +*/