view libtomcrypt/testprof/test.c @ 400:a5bca950120d channel-fix

merge of '1dfbc5ef92391d01b576c8506061927869a89887' and '275426b7a4b94a0507c78327f86bcd2cd0b0f985'
author Matt Johnston <matt@ucc.asn.au>
date Sat, 03 Feb 2007 08:20:45 +0000
parents 1b9e69c058d2
children
line wrap: on
line source

#include <tomcrypt_test.h>

void run_cmd(int res, int line, char *file, char *cmd)
{
   if (res != CRYPT_OK) {
      fprintf(stderr, "%s (%d)\n%s:%d:%s\n", error_to_string(res), res, file, line, cmd);
      exit(EXIT_FAILURE);
   }
}

/* $Source: /cvs/libtom/libtomcrypt/testprof/test.c,v $ */
/* $Revision: 1.6 $ */
/* $Date: 2005/05/05 14:35:59 $ */