diff options
author | Jakob Unterwurzacher | 2015-10-07 21:26:17 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-10-07 21:26:17 +0200 |
commit | 65ba0739d5de756a437e0f840649583fa835a560 (patch) | |
tree | 09ada31a5e752d9e00a3f2424b8a53d2bc59bb0c /cryptfs/log.go | |
parent | 03502861ce9aaf3606b37b999d19ac25ccfbf06b (diff) |
Implement "gocryptfs --passwd" (pasword changing)
Diffstat (limited to 'cryptfs/log.go')
-rw-r--r-- | cryptfs/log.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cryptfs/log.go b/cryptfs/log.go index 0884473..2183679 100644 --- a/cryptfs/log.go +++ b/cryptfs/log.go @@ -30,6 +30,10 @@ func (l *logChannel) Enable() { l.enabled = true } +func (l *logChannel) Disable() { + l.enabled = false +} + // Only actually calculate the md5sum if the log channel is enabled to save // CPU cycles func (l *logChannel) Md5sum(buf []byte) string { |