X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=test_ciphers.c;h=8497652a275836f78876af0132aca59e9624396a;hb=55f0eb1b77c1c1bfc387927bad06210257f50f21;hp=86f336e72f61cca5cbe7fe7abbe679f8db462094;hpb=ea08f653579978ba0e39d5a71bce9ed47452f0e3;p=openssl-gost%2Fengine.git diff --git a/test_ciphers.c b/test_ciphers.c index 86f336e..8497652 100644 --- a/test_ciphers.c +++ b/test_ciphers.c @@ -33,8 +33,10 @@ else \ printf(cGREEN "Test passed" cNORM "\n");} +#ifdef __GNUC__ /* Pragma to allow commenting out some tests. */ -#pragma GCC diagnostic ignored "-Wunused-const-variable" +# pragma GCC diagnostic ignored "-Wunused-const-variable" +#endif /* * Test keys from both GOST R 34.12-2015 and GOST R 34.13-2015,