aboutsummaryrefslogtreecommitdiff
path: root/internal/stupidgcm/autherr.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-05-25 14:18:44 +0200
committerJakob Unterwurzacher2017-05-25 14:18:44 +0200
commitc0e411f81d01607fa59338365933232231738581 (patch)
tree2669ce4f9a5323119860e501c97eaf11f35f6e83 /internal/stupidgcm/autherr.go
parent70c16fde4c908414f6af53c3193a89fa296ef732 (diff)
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.
Diffstat (limited to 'internal/stupidgcm/autherr.go')
0 files changed, 0 insertions, 0 deletions