diff options
| author | Joseph Richey <joerichey@google.com> | 2017-08-07 10:29:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-07 10:29:58 -0700 |
| commit | 1390d76105e843dec603b5d7b8f3561b62a751a9 (patch) | |
| tree | bc8132001b8e75f7527647629f3debd2233f305e /cmd | |
| parent | 1f2945839b9230e718476b54517b1c1ec772d734 (diff) | |
| parent | ddc15e139fb8748ad06722944be1968c0d55803d (diff) | |
Merge pull request #32 from ebiggers/ErrKeyFileLength_fix
cmd/fscrypt: fix help message for ErrKeyFileLength
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/fscrypt/errors.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fscrypt/errors.go b/cmd/fscrypt/errors.go index e0875e9..b0548d5 100644 --- a/cmd/fscrypt/errors.go +++ b/cmd/fscrypt/errors.go @@ -50,7 +50,7 @@ var ( ErrSpecifyProtector = errors.New("multiple protectors available") ErrWrongKey = errors.New("incorrect key provided") ErrSpecifyKeyFile = errors.New("no key file specified") - ErrKeyFileLength = errors.Errorf("key file must be %d bytes", metadata.PolicyKeyLen) + ErrKeyFileLength = errors.Errorf("key file must be %d bytes", metadata.InternalKeyLen) ErrAllLoadsFailed = errors.New("could not load any protectors") ErrMustBeRoot = errors.New("this command must be run as root") ErrPolicyUnlocked = errors.New("this file or directory is already unlocked") |