view testprof/test.c @ 281:997e6f7dc01e libtomcrypt-dropbear

Just import the Dropbear 0.47 libtomcrypt changes
author Matt Johnston <matt@ucc.asn.au>
date Wed, 08 Mar 2006 13:02:58 +0000
parents 59400faa4b44
children
line wrap: on
line source

#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 $ */