X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_crypt.c;h=8f8e0d382ff05bd340f504b34e29f5a49830454b;hb=bf06cbf5baa8d0f589bfb090455c3988c261a3f7;hp=da78e396fd941acc40034f426e7cbd5f79ee3601;hpb=8c81c6fde1485fc27f88b4ffbcd8217a294c2215;p=openssl-gost%2Fengine.git diff --git a/gost_crypt.c b/gost_crypt.c index da78e39..8f8e0d3 100644 --- a/gost_crypt.c +++ b/gost_crypt.c @@ -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) ( \