1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2 /* SPDX-License-Identifier: Unlicense */
3 #include "tomcrypt_private.h"
4 
5 /**
6   @file crypt_argchk.c
7   Perform argument checking, Tom St Denis
8 */
9 
10 #if (ARGTYPE == 0)
crypt_argchk(const char * v,const char * s,int d)11 void crypt_argchk(const char *v, const char *s, int d)
12 {
13  fprintf(stderr, "LTC_ARGCHK '%s' failure on line %d of file %s\n",
14          v, d, s);
15  abort();
16 }
17 #endif
18