X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_md.c;h=b8824eb48d5c99f6138c42eed2afc9b72ef41d9b;hb=HEAD;hp=6d03d50e7ead7ea5deed24e37cb0e05796d03b5e;hpb=410e6c831e2fc37ac9c81c5c6e2e32f564720e86;p=openssl-gost%2Fengine.git diff --git a/gost_md.c b/gost_md.c index 6d03d50..b8824eb 100644 --- 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) ( \