diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-23 21:36:00 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-23 21:36:00 +0100 |
commit | b2e10535ef094e8bc9995769c2a22a1ee29cbe57 (patch) | |
tree | adce4aaef9978a04e09d24499f99752c6d2dbf8c /type_test.go | |
parent | 15444f91e74de6e1ca8ea99511e8cb6dcd92fa91 (diff) |
added start on isolated trillian checks
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 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) } |