b64_encode(): fixed input[] not initialized warn under gcc 4.4.5
Signed-off-by: Dmitri Bachtin <dbachtin@init-ka.de>
This commit is contained in:
parent
2b89f2169b
commit
d66a89f010
1 changed files with 1 additions and 1 deletions
2
base64.c
2
base64.c
|
@ -140,7 +140,7 @@ int b64_encode(const void *_src, size_t srclength,
|
|||
const unsigned char *src = _src;
|
||||
char *target = dest;
|
||||
size_t datalength = 0;
|
||||
u_char input[3];
|
||||
u_char input[3] = {0};
|
||||
u_char output[4];
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Reference in a new issue