fix base64 (==)
This commit is contained in:
parent
38085291ea
commit
e3bbc5ddde
@ -311,8 +311,7 @@ kaz::base64Decode (string &content) {
|
||||
buff [j] = 0;
|
||||
*q = buff [0] << 2 | (buff [1] & 0x30) >> 4;
|
||||
++q;
|
||||
--idx;
|
||||
if (idx) {
|
||||
if (idx > 2) {
|
||||
*q = buff [1] << 4 | (buff [2] & 0x3c) >> 2;
|
||||
++q;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user