diff options
author | Jakob Unterwurzacher | 2016-07-03 15:35:58 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-07-03 15:35:58 +0200 |
commit | e574a6cc1f053a16158bd228cf0ec9c6b255ad09 (patch) | |
tree | 5964982fa8f93b1e24be1f8a229ff7e197501fd2 /masterkey.go | |
parent | d5b7eb33daec612626305c961b7ec6d5eccd79a7 (diff) |
nametransform: hide detailed padding error behind the debug flag
unPad16 returns detailed errors including the position of the
incorrect bytes. Kill a possible padding oracle by lumping
everything into a generic error.
The detailed error is only logged if debug is active.
Diffstat (limited to 'masterkey.go')
0 files changed, 0 insertions, 0 deletions