libgocryptfs/internal/contentenc
Jakob Unterwurzacher c0e411f81d contentenc: better error reporting in ParseHeader
Log the message ourselves and return EINVAL.

Before:

	gocryptfs[26962]: go-fuse: can't convert error type: ParseHeader: invalid version: got 0, want 2

After:

	gocryptfs[617]: ParseHeader: invalid version: want 2, got 0. Returning EINVAL.
2017-05-25 14:18:44 +02:00
..
content_test.go Add -forcedecode 2017-04-23 23:11:56 +02:00
content.go forcedecode: tighten checks 2017-04-24 00:25:02 +02:00
file_header.go contentenc: better error reporting in ParseHeader 2017-05-25 14:18:44 +02:00
intrablock.go lint fixes 2016-10-04 23:18:33 +02:00
offsets.go contentenc: downgrade "interrupted write?" warning to debug 2017-05-01 18:44:18 +02:00