From 8cfb6411ffa965f4b4856946987d351298627859 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Wed, 19 Dec 2012 11:06:00 +0000 Subject: [PATCH 1/1] engines/cchost/gost_crypt.c: fix typo. --- engines/ccgost/gost_crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/ccgost/gost_crypt.c b/engines/ccgost/gost_crypt.c index 05429908f4..d227ba25db 100644 --- a/engines/ccgost/gost_crypt.c +++ b/engines/ccgost/gost_crypt.c @@ -516,7 +516,7 @@ static void mac_block_mesh(struct ossl_gost_imit_ctx *c,const unsigned char *dat cryptopro_key_meshing(&(c->cctx),buffer); } mac_block(&(c->cctx),c->buffer,data); - c->count = (c->count+1)%1024 + 1024; + c->count = (c->count+8)%1024 + 1024; } int gost_imit_update(EVP_MD_CTX *ctx, const void *data, size_t count) -- 2.34.1