--- libaitio/src/crypt.c 2012/07/03 08:51:05 1.7 +++ libaitio/src/crypt.c 2012/08/02 00:47:47 1.8 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: crypt.c,v 1.7 2012/07/03 08:51:05 misho Exp $ +* $Id: crypt.c,v 1.8 2012/08/02 00:47:47 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; }