mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-27 20:56:18 +08:00
fix failed case for golang < 1.18.x
This commit is contained in:
parent
8b25009e6f
commit
fd940fcd06
@ -15,7 +15,6 @@ import (
|
|||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"encoding/pem"
|
"encoding/pem"
|
||||||
"fmt"
|
|
||||||
"io"
|
"io"
|
||||||
"math/big"
|
"math/big"
|
||||||
"net"
|
"net"
|
||||||
@ -1600,6 +1599,7 @@ func TestVerifyEmptyCertificate(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
func TestInsecureAlgorithmErrorString(t *testing.T) {
|
func TestInsecureAlgorithmErrorString(t *testing.T) {
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
sa SignatureAlgorithm
|
sa SignatureAlgorithm
|
||||||
@ -1619,6 +1619,7 @@ func TestInsecureAlgorithmErrorString(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// These CSR was generated with OpenSSL:
|
// These CSR was generated with OpenSSL:
|
||||||
// openssl req -out CSR.csr -new -sha256 -nodes -keyout privateKey.key -config openssl.cnf
|
// openssl req -out CSR.csr -new -sha256 -nodes -keyout privateKey.key -config openssl.cnf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user