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:
Bachtin, Dmitri 2015-09-09 09:23:58 +02:00 committed by Felix Fietkau
parent 2b89f2169b
commit d66a89f010

View file

@ -140,7 +140,7 @@ int b64_encode(const void *_src, size_t srclength,
const unsigned char *src = _src; const unsigned char *src = _src;
char *target = dest; char *target = dest;
size_t datalength = 0; size_t datalength = 0;
u_char input[3]; u_char input[3] = {0};
u_char output[4]; u_char output[4];
int i; int i;