commit | 1c913e4232c82777bb1bcb2266f34670d5174342 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Aug 22 05:26:57 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Aug 22 05:28:32 2018 +0200 |
tree | 6918a9d5d8f20a08259431b5e4d072bb847aa204 | |
parent | b406b8708fef5ff51e684794b5df4fea728b0058 [diff] |
BUG/MEDIUM: cli/ssl: don't store base64dec() result in the trash's length By convenience or laziness we used to store base64dec()'s return code into trash.data and to compare it against 0 to check for conversion failure, but it's now unsigned since commit 843b7cb ("MEDIUM: chunks: make the chunk struct's fields match the buffer struct"). Let's clean this up and test the result itself without storing it first. No backport is needed.