Diff for /libaitwww/src/base64.c between versions 1.3 and 1.3.6.1

version 1.3, 2013/05/30 09:25:35 version 1.3.6.1, 2016/09/14 15:08:24
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013Copyright 2004 - 2016
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 59  static const unsigned char base64_table[65] =  Line 59  static const unsigned char base64_table[65] = 
 ait_val_t *  ait_val_t *
 www_b64encode(ait_val_t * __restrict src)  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;          size_t olen;
         const u_char *in, *end;          const u_char *in, *end;
         u_char *pos, *out;          u_char *pos, *out;
Line 131  www_b64encode(ait_val_t * __restrict src) Line 131  www_b64encode(ait_val_t * __restrict src)
 ait_val_t *  ait_val_t *
 www_b64decode(ait_val_t * __restrict src)  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];          u_char dtable[256], *s, *pos, *out, in[4], blk[4];
         register size_t i, olen, cx = 0;          register size_t i, olen, cx = 0;
   

Removed from v.1.3  
changed lines
  Added in v.1.3.6.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>