Mercurial > dropbear
comparison libtomcrypt/src/headers/tomcrypt_argchk.h @ 1733:d529a52b2f7c coverity coverity
merge coverity from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 26 Jun 2020 21:07:34 +0800 |
parents | 1ff2a1034c52 |
children |
comparison
equal
deleted
inserted
replaced
1643:b59623a64678 | 1733:d529a52b2f7c |
---|---|
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; |