X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=test_digest.c;h=f3d4169555daecc61b420800df6fe35fb5a98960;hb=a0d13491d28ee12e1c5517a0684a571be96fc7a5;hp=a931a3509d577dacb0917d06185ac25c4230b5bc;hpb=66c4ce5fb9fe3c3598a5707bde7ac6929ec0b83c;p=openssl-gost%2Fengine.git diff --git a/test_digest.c b/test_digest.c index a931a35..f3d4169 100644 --- a/test_digest.c +++ b/test_digest.c @@ -29,17 +29,17 @@ #endif /* Helpers to test OpenSSL API calls. */ -#define T(e) ({ if (!(e)) { \ - ERR_print_errors_fp(stderr); \ - OpenSSLDie(__FILE__, __LINE__, #e); \ - } \ - }) -#define TE(e) ({ if (!(e)) { \ - ERR_print_errors_fp(stderr); \ - fprintf(stderr, "Error at %s:%d %s\n", __FILE__, __LINE__, #e); \ - return -1; \ - } \ - }) +#define T(e) \ + if (!(e)) { \ + ERR_print_errors_fp(stderr); \ + OpenSSLDie(__FILE__, __LINE__, #e); \ + } +#define TE(e) \ + if (!(e)) { \ + ERR_print_errors_fp(stderr); \ + fprintf(stderr, "Error at %s:%d %s\n", __FILE__, __LINE__, #e); \ + return -1; \ + } #define cRED "\033[1;31m" #define cDRED "\033[0;31m"