diff options
author | Emilia Kasper <emilia@openssl.org> | 2015-09-17 20:08:48 +0200 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2015-09-17 21:42:38 +0200 |
commit | b785504a10310cb2872270eb409b70971be5e76e (patch) | |
tree | 0da118e9397503bf23cae232e398acecaa026d9b /test | |
parent | RT3757: base64 encoding bugs (diff) | |
download | openssl-b785504a10310cb2872270eb409b70971be5e76e.tar.xz openssl-b785504a10310cb2872270eb409b70971be5e76e.zip |
base64 decode: check for high bit
Previously, the conversion would silently coerce to ASCII. Now, we error
out.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/evptests.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/evptests.txt b/test/evptests.txt index e8de2c16ec..24ef573374 100644 --- a/test/evptests.txt +++ b/test/evptests.txt @@ -2690,6 +2690,12 @@ Output = 61475600736247383d0a Encoding = invalid Output = 61475601736247383d0a +Encoding = invalid +Output = 61475680736247383d0a + +Encoding = invalid +Output = e14756736247383d0a + Encoding = canonical Input = "OpenSSLOpenSSL\n" Output = "T3BlblNTTE9wZW5TU0wK\n" |