From 02f99b2e3b46f4ff44fd5420487551d5a447c2ad Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Fri, 14 Aug 2015 21:00:10 +0300 Subject: Commit from current openssl master. The Gost94 signature algorithm is removed. --- gosthash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gosthash.c') diff --git a/gosthash.c b/gosthash.c index 72faa24..b3d80d4 100644 --- a/gosthash.c +++ b/gosthash.c @@ -154,7 +154,7 @@ static int hash_step(gost_ctx * c, byte * H, const byte * M) int init_gost_hash_ctx(gost_hash_ctx * ctx, const gost_subst_block * subst_block) { - memset(ctx, 0, sizeof(gost_hash_ctx)); + memset(ctx, 0, sizeof(*ctx)); ctx->cipher_ctx = (gost_ctx *) MYALLOC(sizeof(gost_ctx)); if (!ctx->cipher_ctx) { return 0; -- cgit v1.1