Fixed Base64Decode() returning wrong value.
This commit is contained in:
parent
2b8bddbdc3
commit
20d07a683f
|
@ -804,7 +804,7 @@ AString Base64Decode(const AString & a_Base64String)
|
||||||
{
|
{
|
||||||
// Error while decoding, invalid input. Return as much as we've decoded:
|
// Error while decoding, invalid input. Return as much as we've decoded:
|
||||||
res.resize(o >> 3);
|
res.resize(o >> 3);
|
||||||
return ERROR_SUCCESS;
|
return res;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
res.resize(o >> 3);
|
res.resize(o >> 3);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user