summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-12-19 12:06:00 +0100
committerAndy Polyakov <appro@openssl.org>2012-12-19 12:06:00 +0100
commit8cfb6411ffa965f4b4856946987d351298627859 (patch)
tree15b982e38bccf5747dd97e93abca31ba9e6688ba /engines
parentengines/e_capi.c: fix typo. (diff)
downloadopenssl-8cfb6411ffa965f4b4856946987d351298627859.tar.xz
openssl-8cfb6411ffa965f4b4856946987d351298627859.zip
engines/cchost/gost_crypt.c: fix typo.
Diffstat (limited to 'engines')
-rw-r--r--engines/ccgost/gost_crypt.c2
1 files changed, 1 insertions, 1 deletions
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)