Files
dropbear/testprof/test.c
Matt Johnston b15f54e39c Import of libtomcrypt 1.05
--HG--
branch : libtomcrypt-orig
extra : convert_revision : 42edf60b8235e6aa06e306688266188818e41c03
2005-07-06 03:53:40 +00:00

14 lines
352 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);
}
}
/* $Source: /cvs/libtom/libtomcrypt/testprof/test.c,v $ */
/* $Revision: 1.6 $ */
/* $Date: 2005/05/05 14:35:59 $ */