blob: 5a3842138eebedc32f2487cb2757d02f9ec8b6b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#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 $ */
|