Mercurial > dropbear
comparison libtomcrypt/src/headers/tomcrypt_argchk.h @ 1739:13d834efc376 fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 15 Oct 2020 19:55:15 +0800 |
parents | 1ff2a1034c52 |
children |
comparison
equal
deleted
inserted
replaced
1562:768ebf737aa0 | 1739:13d834efc376 |
---|---|
43 #define LTC_ARGCHK(x) if (!(x)) { fprintf(stderr, "\nwarning: ARGCHK failed at %s:%d\n", __FILE__, __LINE__); } | 43 #define LTC_ARGCHK(x) if (!(x)) { fprintf(stderr, "\nwarning: ARGCHK failed at %s:%d\n", __FILE__, __LINE__); } |
44 #define LTC_ARGCHKVD(x) LTC_ARGCHK(x) | 44 #define LTC_ARGCHKVD(x) LTC_ARGCHK(x) |
45 | 45 |
46 #elif ARGTYPE == 3 | 46 #elif ARGTYPE == 3 |
47 | 47 |
48 #define LTC_ARGCHK(x) | 48 #define LTC_ARGCHK(x) |
49 #define LTC_ARGCHKVD(x) LTC_ARGCHK(x) | 49 #define LTC_ARGCHKVD(x) LTC_ARGCHK(x) |
50 | 50 |
51 #elif ARGTYPE == 4 | 51 #elif ARGTYPE == 4 |
52 | 52 |
53 #define LTC_ARGCHK(x) if (!(x)) return CRYPT_INVALID_ARG; | 53 #define LTC_ARGCHK(x) if (!(x)) return CRYPT_INVALID_ARG; |