aboutsummaryrefslogtreecommitdiff
path: root/test_context.c
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2021-12-04 09:55:55 +0300
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>2021-12-11 19:45:14 +0300
commita0d13491d28ee12e1c5517a0684a571be96fc7a5 (patch)
tree72fb80bbddefbbeda47bfec00cf987d253e600f1 /test_context.c
parent66c4ce5fb9fe3c3598a5707bde7ac6929ec0b83c (diff)
downloadgost-engine-a0d13491d28ee12e1c5517a0684a571be96fc7a5.zip
gost-engine-a0d13491d28ee12e1c5517a0684a571be96fc7a5.tar.gz
gost-engine-a0d13491d28ee12e1c5517a0684a571be96fc7a5.tar.bz2
MSVC: No support for GCC's compound statement expressions
Error messages: test_ciphers.c(329,5): error C2059: syntax error: '{' test_ciphers.c(329,5): error C2059: syntax error: '}' test_ciphers.c(329,5): error C2059: syntax error: ')' Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Diffstat (limited to 'test_context.c')
-rw-r--r--test_context.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/test_context.c b/test_context.c
index fa0d2fa..293f921 100644
--- a/test_context.c
+++ b/test_context.c
@@ -15,9 +15,10 @@
# include "gost_lcl.h"
#endif
-#define T(e) if (!(e)) {\
- ERR_print_errors_fp(stderr);\
- OpenSSLDie(__FILE__, __LINE__, #e);\
+#define T(e) \
+ if (!(e)) { \
+ ERR_print_errors_fp(stderr); \
+ OpenSSLDie(__FILE__, __LINE__, #e); \
}
#define cRED "\033[1;31m"