core: hash: fix hash backends erasing ctx function pointers
This commit is contained in:
@@ -259,8 +259,6 @@ void md4_finish(struct b_hash_ctx *ctx, void *out, size_t max)
|
||||
OUT(&result[4], ctx->ctx_state.md4.b)
|
||||
OUT(&result[8], ctx->ctx_state.md4.c)
|
||||
OUT(&result[12], ctx->ctx_state.md4.d)
|
||||
|
||||
memset(ctx, 0, sizeof(*ctx));
|
||||
}
|
||||
|
||||
struct b_hash_function_ops z__b_md4_ops = {
|
||||
|
||||
Reference in New Issue
Block a user