--- embedtools/src/voucher.c 2013/01/18 13:21:06 1.2.4.2 +++ embedtools/src/voucher.c 2014/02/05 15:44:06 1.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: voucher.c,v 1.2.4.2 2013/01/18 13:21:06 misho Exp $ + * $Id: voucher.c,v 1.3 2014/02/05 15:44:06 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 - 2014 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -335,7 +335,7 @@ TestVouchers(array_t * __restrict v, RSA * __restrict } for (i = 0, code = 0; i < array_Size(v); i++, code = 0) { - voucher = AIT_GET_STR(ait_getVars(&v, i)); + voucher = AIT_GET_STR(ait_getVars((array_t**) &v, i)); /* convert from voucher string to number */ p = (u_char*) strrchr(voucher, '\0');