From 2c52eca8727df744d093703bbcbd87fc39d57d30 Mon Sep 17 00:00:00 2001 From: "Joe Richey joerichey@google.com" Date: Wed, 28 Jun 2017 13:57:55 -0700 Subject: Finalize import paths and documentation This commit changes all the internal import paths from `fscrypt/foo` to `github.com/google/fscrypt/foo` so that it can be built once we release externaly. The documentation in README.md is updated accordingly. Also, the README has a note noting that we do not make any guarantees about project stability before 1.0 (when it ships with Ubuntu). Change-Id: I6ba86e442c74057c8a06ba32a42e17f94833e280 --- actions/protector_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'actions/protector_test.go') diff --git a/actions/protector_test.go b/actions/protector_test.go index eacba83..6c81d49 100644 --- a/actions/protector_test.go +++ b/actions/protector_test.go @@ -25,7 +25,7 @@ import ( "github.com/pkg/errors" - . "fscrypt/crypto" + "github.com/google/fscrypt/crypto" ) const testProtectorName = "my favorite protector" @@ -33,11 +33,11 @@ const testProtectorName2 = testProtectorName + "2" var errCallback = errors.New("bad callback") -func goodCallback(info ProtectorInfo, retry bool) (*Key, error) { - return NewFixedLengthKeyFromReader(bytes.NewReader(timingPassphrase), len(timingPassphrase)) +func goodCallback(info ProtectorInfo, retry bool) (*crypto.Key, error) { + return crypto.NewFixedLengthKeyFromReader(bytes.NewReader(timingPassphrase), len(timingPassphrase)) } -func badCallback(info ProtectorInfo, retry bool) (*Key, error) { +func badCallback(info ProtectorInfo, retry bool) (*crypto.Key, error) { return nil, errCallback } -- cgit v1.2.3