]> pd.if.org Git - zpackage/blob - libtomcrypt/src/misc/crypt/crypt_argchk.c
commit files needed for zpm-fetchurl
[zpackage] / libtomcrypt / src / misc / crypt / crypt_argchk.c
1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis
2  *
3  * LibTomCrypt is a library that provides various cryptographic
4  * algorithms in a highly modular and flexible manner.
5  *
6  * The library is free for all purposes without any express
7  * guarantee it works.
8  */
9 #include "tomcrypt.h"
10
11 /**
12   @file crypt_argchk.c
13   Perform argument checking, Tom St Denis
14 */
15
16 #if (ARGTYPE == 0)
17 void crypt_argchk(const char *v, const char *s, int d)
18 {
19  fprintf(stderr, "LTC_ARGCHK '%s' failure on line %d of file %s\n",
20          v, d, s);
21  abort();
22 }
23 #endif
24
25 /* ref:         $Format:%D$ */
26 /* git commit:  $Format:%H$ */
27 /* commit time: $Format:%ai$ */