test.c 280 B

12345678910111213
  1. #include <tomcrypt_test.h>
  2. void run_cmd(int res, int line, char *file, char *cmd)
  3. {
  4. if (res != CRYPT_OK) {
  5. fprintf(stderr, "%s (%d)\n%s:%d:%s\n", error_to_string(res), res, file, line, cmd);
  6. exit(EXIT_FAILURE);
  7. }
  8. }
  9. /* $Source$ */
  10. /* $Revision$ */
  11. /* $Date$ */