X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_crypt.c;h=8f8e0d382ff05bd340f504b34e29f5a49830454b;hb=34dbff392d06471bd4d57395ad16b770e505e2a3;hp=da78e396fd941acc40034f426e7cbd5f79ee3601;hpb=b5613a2844470fd983cc3681633681a02ef6b44e;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) ( \