REVIEWED: DecodeDataBase64(), follow convention:
- All `char *` refer to text strings - All `unsigned char *` refer to generic byte arrays
This commit is contained in:
parent
3083f0cd43
commit
f7d03efb49
2 changed files with 2 additions and 2 deletions
|
|
@ -2575,7 +2575,7 @@ char *EncodeDataBase64(const unsigned char *data, int dataSize, int *outputSize)
|
|||
}
|
||||
|
||||
// Decode Base64 string data
|
||||
unsigned char *DecodeDataBase64(const unsigned char *data, int *outputSize)
|
||||
unsigned char *DecodeDataBase64(const char *data, int *outputSize)
|
||||
{
|
||||
static const unsigned char base64decodeTable[] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue