comparison libtomcrypt/testprof/test.c @ 330:5488db2e9e4e

merge of 332f709a4cb39cde4cedab7c3be89e05f3023067 and ca4ca78b82c5d430c69ce01bf794e8886ce81431
author Matt Johnston <matt@ucc.asn.au>
date Sat, 10 Jun 2006 16:39:40 +0000
parents 1b9e69c058d2
children
comparison
equal deleted inserted replaced
329:8ed0dce45126 330:5488db2e9e4e
1 #include <tomcrypt_test.h>
2
3 void run_cmd(int res, int line, char *file, char *cmd)
4 {
5 if (res != CRYPT_OK) {
6 fprintf(stderr, "%s (%d)\n%s:%d:%s\n", error_to_string(res), res, file, line, cmd);
7 exit(EXIT_FAILURE);
8 }
9 }
10
11 /* $Source: /cvs/libtom/libtomcrypt/testprof/test.c,v $ */
12 /* $Revision: 1.6 $ */
13 /* $Date: 2005/05/05 14:35:59 $ */