projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
memset, memcpy, sizeof consistency fixes
[openssl.git]
/
engines
/
ccgost
/
gosthash.c
diff --git
a/engines/ccgost/gosthash.c
b/engines/ccgost/gosthash.c
index 72faa24ed5605fafc8db7316396f957e875a8fb1..b3d80d4ac62edb2fbe91df823100d391dfb426d8 100644
(file)
--- a/
engines/ccgost/gosthash.c
+++ b/
engines/ccgost/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;