--- libaitio/src/crypt.c 2012/05/23 14:06:08 1.6.6.2 +++ libaitio/src/crypt.c 2012/08/01 08:51:00 1.7.8.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: crypt.c,v 1.6.6.2 2012/05/23 14:06:08 misho Exp $ +* $Id: crypt.c,v 1.7.8.1 2012/08/01 08:51:00 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -132,7 +132,7 @@ io_Blowfish(u_char *pInput, int inLen, u_char **ppOutp if (nMode) { len = strlen((char*) pInput); - str = strdup((char*) pInput); + str = io_strdup((char*) pInput); } else { len = strlen((char*) pInput) / 2; str = io_malloc(len + 1); @@ -167,7 +167,7 @@ io_Blowfish(u_char *pInput, int inLen, u_char **ppOutp } } else if (ret && buf) - *ppOutput = (u_char*) strdup((char*) buf); + *ppOutput = (u_char*) io_strdup((char*) buf); return ret; }