diff options
author | Alexey Novikov <alexey@novikov.io> | 2021-10-17 11:51:33 +0400 |
---|---|---|
committer | Alexey Novikov <alexey@novikov.io> | 2021-10-17 12:45:26 +0400 |
commit | 64a3b045c12c3e0fa98f5967ceb38378eaf70e2d (patch) | |
tree | dc4f3545f202e3fc3623f43afbc4087ac4d91156 /tests/build-hook-ca-floating.nix | |
parent | 130284b8508dad3c70e8160b15f3d62042fc730a (diff) |
Fix error detection in 'base64Decode()'
Fixed a bug in initialization of 'base64DecodeChars' variable.
Currently decoder do not fail on invalid Base64 strings.
Added test-case to verify the fix.
Also have made 'base64DecodeChars' to be computed at compile time.
And added a test case to encode/decode string with non-printable charactes.
Diffstat (limited to 'tests/build-hook-ca-floating.nix')
0 files changed, 0 insertions, 0 deletions