Files
dropbear/testprof/test.c
Matt Johnston 33e7019577 Import of libtomcrypt 1.02 with manual path rename rearrangement etc
--HG--
branch : libtomcrypt-orig
extra : convert_revision : 128d85f93acd46086c361a9a17274f94beadd465
2005-05-06 13:23:02 +00:00

10 lines
234 B
C

#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);
}
}