commit | d698f322b58a50ee1acf21a734367d151c154dd1 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Sun Aug 24 00:49:21 2014 -0400 |
committer | Adam Langley <agl@google.com> | Mon Aug 25 23:00:28 2014 +0000 |
tree | c9866e8396765708bcebbbadd62b9552543805a5 | |
parent | 3a66e2838cbe287786bbd7db56fb99097f6d45b3 [diff] |
Introduce EVP_DecodeBase64. This fixes several of the problems with the old API. - Padding was completely ignored. - ='s in the middle of the input were accepted. - It tries to be helpful and strips leading/trailing whitespace. Change-Id: I99b9d5e6583f7eaf9bf0b6ee9ca39799811b58dc Reviewed-on: https://boringssl-review.googlesource.com/1602 Reviewed-by: Adam Langley <agl@google.com>