X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_md.c;h=b8824eb48d5c99f6138c42eed2afc9b72ef41d9b;hb=da0c648be057d9d9277a5a17411d4acb5dfe710f;hp=6d03d50e7ead7ea5deed24e37cb0e05796d03b5e;hpb=6036eb9be5403af769f211b1056d34bf65028aea;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) ( \