Diff for /libaitio/src/crypt.c between versions 1.7 and 1.8

version 1.7, 2012/07/03 08:51:05 version 1.8, 2012/08/02 00:47:47
Line 132  io_Blowfish(u_char *pInput, int inLen, u_char **ppOutp Line 132  io_Blowfish(u_char *pInput, int inLen, u_char **ppOutp
   
         if (nMode) {          if (nMode) {
                 len = strlen((char*) pInput);                  len = strlen((char*) pInput);
                str = strdup((char*) pInput);                str = io_strdup((char*) pInput);
         } else {          } else {
                 len = strlen((char*) pInput) / 2;                  len = strlen((char*) pInput) / 2;
                 str = io_malloc(len + 1);                  str = io_malloc(len + 1);
Line 167  io_Blowfish(u_char *pInput, int inLen, u_char **ppOutp Line 167  io_Blowfish(u_char *pInput, int inLen, u_char **ppOutp
                 }                  }
         } else          } else
                 if (ret && buf)                  if (ret && buf)
                        *ppOutput = (u_char*) strdup((char*) buf);                        *ppOutput = (u_char*) io_strdup((char*) buf);
   
         return ret;          return ret;
 }  }

Removed from v.1.7  
changed lines
  Added in v.1.8


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