diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2015-08-14 21:00:10 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2015-08-14 21:00:10 +0300 |
commit | 02f99b2e3b46f4ff44fd5420487551d5a447c2ad (patch) | |
tree | af17df30f1100a3995dd7b8d7885e3e18983844f /gosthash.c | |
parent | c98ba9d03213d0c63d6874539d59f7b55fbc3fae (diff) | |
download | gost-engine-02f99b2e3b46f4ff44fd5420487551d5a447c2ad.zip gost-engine-02f99b2e3b46f4ff44fd5420487551d5a447c2ad.tar.gz gost-engine-02f99b2e3b46f4ff44fd5420487551d5a447c2ad.tar.bz2 |
Commit from current openssl master. The Gost94 signature algorithm is
removed.
Diffstat (limited to 'gosthash.c')
-rw-r--r-- | gosthash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |