hcrypto: Fix typo when clearing context structure
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:

committed by
Jeffrey Altman

parent
c0bc8beb07
commit
88ea8039e3
@@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user