X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=engines%2Fccgost%2Fgost_crypt.c;h=277921f02d22df437127adccb14258532a09f0a3;hp=a6736836c435f43380c8fc954ba0d7c6e8c42c91;hb=744ecaa5b6c024c4dfb9036e5efb65f7fec4f784;hpb=76d761ccd3dc1a8c5fb844d91a1d2bc29f0d2b13 diff --git a/engines/ccgost/gost_crypt.c b/engines/ccgost/gost_crypt.c index a6736836c4..277921f02d 100644 --- a/engines/ccgost/gost_crypt.c +++ b/engines/ccgost/gost_crypt.c @@ -251,8 +251,8 @@ int gost_cipher_do_cfb(EVP_CIPHER_CTX *ctx, unsigned char *out, { const unsigned char *in_ptr=in; unsigned char *out_ptr=out; - int i=0; - int j=0; + unsigned int i=0; + unsigned int j=0; /* process partial block if any */ if (ctx->num) { @@ -313,8 +313,8 @@ static int gost_cipher_do_cnt(EVP_CIPHER_CTX *ctx, unsigned char *out, { const unsigned char *in_ptr=in; unsigned char *out_ptr=out; - int i=0; - int j; + unsigned int i=0; + unsigned int j; /* process partial block if any */ if (ctx->num) {