diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-30 17:26:08 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-30 17:26:08 +0100 |
commit | 9e6c301a830ef2675a2b2dab08002723b1315af4 (patch) | |
tree | 1a3193f49f9af2c9ad68b5acf5d09e4185d62045 /type_test.go | |
parent | c70ff166952b3d7c325a6db8d42751e82f86ae31 (diff) |
migrated over to x509util/testdata
Diffstat (limited to 'type_test.go')
-rw-r--r-- | type_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/type_test.go b/type_test.go index ea3ab36..e8dce00 100644 --- a/type_test.go +++ b/type_test.go @@ -5,8 +5,8 @@ import ( "crypto/tls" - "github.com/system-transparency/stfe/testdata" "github.com/system-transparency/stfe/x509util" + "github.com/system-transparency/stfe/x509util/testdata" ) var ( @@ -275,7 +275,7 @@ func TestEncDecStItem(t *testing.T) { // // Note: max limits for certificate chains are not tested. func TestEncDecAppendix(t *testing.T) { - chain, err := x509util.NewCertificateList(testdata.FirstPemChain) + chain, err := x509util.NewCertificateList(testdata.RootChain) if err != nil { t.Fatalf("must decode certificate chain: %v", err) } @@ -398,7 +398,7 @@ func TestStItemUnmarshalFailure(t *testing.T) { // TestAppendixUnmarshal tests that invalid appendices cannot be unmarshaled func TestAppendixUnmarshalFailure(t *testing.T) { - chain, err := x509util.NewCertificateList(testdata.FirstPemChain) + chain, err := x509util.NewCertificateList(testdata.RootChain) if err != nil { t.Fatalf("must decode certificate chain: %v", err) } |