mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 20:26:19 +08:00
pkcs8: fix copy issue
This commit is contained in:
parent
7271ce6df9
commit
ffe5bff24e
@ -4,10 +4,7 @@
|
||||
package pkcs8_test
|
||||
|
||||
import (
|
||||
"encoding/pem"
|
||||
"testing"
|
||||
|
||||
"github.com/emmansun/gmsm/pkcs8"
|
||||
)
|
||||
|
||||
// From https://tools.ietf.org/html/rfc7914
|
||||
@ -21,12 +18,7 @@ iBGY/Dls7B1TsWeGObE0sS1MXEpuREuloZjcsNVcNXWPlLdZtkSH6uwWzR0PyG/Z
|
||||
`
|
||||
|
||||
func TestParseFFCscryptPrivateKey(t *testing.T) {
|
||||
keyList := []struct {
|
||||
name string
|
||||
clear string
|
||||
encrypted string
|
||||
password string
|
||||
}{
|
||||
keyList := []testPrivateKey{
|
||||
{
|
||||
name: "encryptedRFCscrypt",
|
||||
clear: "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user