diff options
author | Jakob Unterwurzacher | 2015-11-03 21:05:47 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-11-03 21:05:47 +0100 |
commit | 3e367b29b0d68b26c606231310e053ef9c8c48a9 (patch) | |
tree | faaae5c01da1a3bd028cca62f307541b783ead03 /cryptfs/cryptfs_content.go | |
parent | 28b3af12d1c48f45b07552e68fd09b2e4cda28b6 (diff) |
config: Introduce ext4-style feature flags
// List of feature flags this filesystem has enabled.
// If gocryptfs encounters a feature flag it does not support, it will refuse
// mounting. This mechanism is analogous to the ext4 feature flags that are
// stored in the superblock.
FeatureFlags []string
Diffstat (limited to 'cryptfs/cryptfs_content.go')
-rw-r--r-- | cryptfs/cryptfs_content.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptfs/cryptfs_content.go b/cryptfs/cryptfs_content.go index d74570f..cfd488b 100644 --- a/cryptfs/cryptfs_content.go +++ b/cryptfs/cryptfs_content.go @@ -60,7 +60,7 @@ func (be *CryptFS) DecryptBlock(ciphertext []byte, blockNo uint64, fileId []byte } if len(ciphertext) < NONCE_LEN { - Warn.Printf("decryptBlock: Block is too short: %d bytes\n", len(ciphertext)) + Warn.Printf("DecryptBlock: Block is too short: %d bytes\n", len(ciphertext)) return nil, errors.New("Block is too short") } |