hcrypto: Fix typo when clearing context structure

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:
Joseph Sutton
2022-02-17 15:33:02 +13:00
committed by Jeffrey Altman
parent c0bc8beb07
commit 88ea8039e3

View File

@@ -336,7 +336,7 @@ add_entropy(FState * st, const unsigned char *data, unsigned len)
st->pool0_bytes += len;
memset_s(hash, sizeof(hash), 0, sizeof(hash));
memset_s(&md, sizeof(hash), 0, sizeof(md));
memset_s(&md, sizeof(md), 0, sizeof(md));
}
/*