X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=test_sign.c;h=63ae3b56877d5ffdabcf88f52d2f737c672c7793;hb=c6655a0b620a3e31f085cc906f8073fe81b2fad3;hp=e18acc1bb0692c7ba876c8d3888566f1e51325f0;hpb=141dc82447a18bc8660032216b9b42758c80d335;p=openssl-gost%2Fengine.git diff --git a/test_sign.c b/test_sign.c index e18acc1..63ae3b5 100644 --- a/test_sign.c +++ b/test_sign.c @@ -7,6 +7,11 @@ * See https://www.openssl.org/source/license.html for details */ +#ifdef _MSC_VER +# pragma warning(push, 3) +# include +# pragma warning(pop) +#endif #include "gost_lcl.h" #include #include @@ -116,6 +121,9 @@ static int test_sign(struct test_sign *t) case 512: type = NID_id_GostR3410_2012_512; algname = "gost2012_512"; + break; + default: + return -1; } /* Keygen. */