From b2e10535ef094e8bc9995769c2a22a1ee29cbe57 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Mon, 23 Nov 2020 21:36:00 +0100 Subject: added start on isolated trillian checks --- type_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'type_test.go') diff --git a/type_test.go b/type_test.go index 6b292ed..e249fb6 100644 --- a/type_test.go +++ b/type_test.go @@ -5,7 +5,7 @@ import ( "crypto/tls" - "github.com/system-transparency/stfe/server/testdata" + "github.com/system-transparency/stfe/testdata" "github.com/system-transparency/stfe/x509util" ) @@ -275,7 +275,7 @@ func TestEncDecStItem(t *testing.T) { // // TODO: max limits for certificate chains are not tested. func TestEncDecAppendix(t *testing.T) { - chain, err := x509util.NewCertificateList(testdata.PemChain) + chain, err := x509util.NewCertificateList(testdata.FirstPemChain) 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.PemChain) + chain, err := x509util.NewCertificateList(testdata.FirstPemChain) if err != nil { t.Fatalf("must decode certificate chain: %v", err) } -- cgit v1.2.3