--- libaitwww/src/base64.c 2013/05/30 09:25:35 1.3 +++ libaitwww/src/base64.c 2016/09/14 15:12:22 1.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: base64.c,v 1.3 2013/05/30 09:25:35 misho Exp $ +* $Id: base64.c,v 1.4 2016/09/14 15:12:22 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 +Copyright 2004 - 2016 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -59,7 +59,7 @@ static const unsigned char base64_table[65] = ait_val_t * www_b64encode(ait_val_t * __restrict src) { - ait_val_t v, *ret = NULL; + ait_val_t v = AIT_VAL_INIT, *ret = NULL; size_t olen; const u_char *in, *end; u_char *pos, *out; @@ -131,7 +131,7 @@ www_b64encode(ait_val_t * __restrict src) ait_val_t * www_b64decode(ait_val_t * __restrict src) { - ait_val_t v, *ret = NULL; + ait_val_t v = AIT_VAL_INIT, *ret = NULL; u_char dtable[256], *s, *pos, *out, in[4], blk[4]; register size_t i, olen, cx = 0;