]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_md.c
tcl_tests: ca.try: Ignore openssl crl exit status for 'corrupted CRL' test
[openssl-gost/engine.git] / gost_md.c
index 6d03d50e7ead7ea5deed24e37cb0e05796d03b5e..b8824eb48d5c99f6138c42eed2afc9b72ef41d9b 100644 (file)
--- a/gost_md.c
+++ b/gost_md.c
@@ -37,7 +37,7 @@ GOST_digest GostR3411_94_digest = {
  * Note: that you cannot template 0 value.
  */
 #define TPL(st,field) ( \
-    ((st)->field) ?: TPL_VAL(st,field) \
+    ((st)->field) ? ((st)->field) : TPL_VAL(st,field) \
 )
 
 #define TPL_VAL(st,field) ( \