]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_crypt.c
MSVC: Fix Elvis operator
[openssl-gost/engine.git] / gost_crypt.c
index da78e396fd941acc40034f426e7cbd5f79ee3601..8f8e0d382ff05bd340f504b34e29f5a49830454b 100644 (file)
@@ -74,7 +74,7 @@ static int magma_cipher_ctl_acpkm_omac(EVP_CIPHER_CTX *ctx, int type, int arg, v
  * 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) ( \