X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=test_digest.c;h=a931a3509d577dacb0917d06185ac25c4230b5bc;hb=66c4ce5fb9fe3c3598a5707bde7ac6929ec0b83c;hp=b9c48810abe8b1357bd6210aa24d00c77485ef20;hpb=8efda3214b5592a5267db96cb0d0da2a2c747a69;p=openssl-gost%2Fengine.git diff --git a/test_digest.c b/test_digest.c index b9c4881..a931a35 100644 --- a/test_digest.c +++ b/test_digest.c @@ -54,8 +54,10 @@ else \ printf(cGREEN " Test passed" cNORM "\n");} +#ifdef __GNUC__ /* To test older APIs. */ -#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif /* * Test keys from both GOST R 34.12-2015 and GOST R 34.13-2015,