X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=openssl-gost%2Fengine.git;a=blobdiff_plain;f=test_params.c;h=114193346e63da2362a1b265ae74ac134e424b3b;hp=2808e263562b605d56b6ed4ee9f6d927a3a96cc0;hb=HEAD;hpb=a0d13491d28ee12e1c5517a0684a571be96fc7a5 diff --git a/test_params.c b/test_params.c index 2808e26..1141933 100644 --- a/test_params.c +++ b/test_params.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 "e_gost_err.h" #include "gost_lcl.h" #include @@ -1127,7 +1132,7 @@ static int test_param(struct test_param *t) T(mdtype = EVP_get_digestbynid(hash_nid)); T(EVP_VerifyInit(md_ctx, mdtype)); /* Feed byte-by-byte. */ - int i; + size_t i; for (i = 0; i < t->data_len; i++) T(EVP_VerifyUpdate(md_ctx, &t->data[i], 1)); err = EVP_VerifyFinal(md_ctx, sig, siglen, pkey);