From 82d01438a66212ce802721397a62c18a0b71b7ea Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Wed, 27 Nov 2019 11:28:14 -0800 Subject: Use latest fscrypt declarations from sys/unix Use the new name for fscrypt constants and structures which have been given a new name. Also use the named constant for the DIRECT_KEY fscrypt policy flag. No change in behavior. This is just preparing for future work. --- crypto/crypto_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/crypto_test.go') diff --git a/crypto/crypto_test.go b/crypto/crypto_test.go index a8d9830..6f973ef 100644 --- a/crypto/crypto_test.go +++ b/crypto/crypto_test.go @@ -56,7 +56,7 @@ var ( fakeValidDescriptor = "0123456789abcdef" fakeSalt = bytes.Repeat([]byte{'a'}, metadata.SaltLen) fakePassword = []byte("password") - defaultService = unix.FS_KEY_DESC_PREFIX + defaultService = unix.FSCRYPT_KEY_DESC_PREFIX fakeValidPolicyKey, _ = makeKey(42, metadata.PolicyKeyLen) fakeInvalidPolicyKey, _ = makeKey(42, metadata.PolicyKeyLen-1) -- cgit v1.2.3