diff options
Diffstat (limited to 'crypto/stack')
-rw-r--r-- | crypto/stack/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/stack/stack.c b/crypto/stack/stack.c index fbe9d6e756..331f907190 100644 --- a/crypto/stack/stack.c +++ b/crypto/stack/stack.c @@ -278,7 +278,7 @@ void sk_zero(_STACK *st) return; if (st->num <= 0) return; - memset((char *)st->data, 0, sizeof(st->data) * st->num); + memset((char *)st->data, 0, sizeof(*st->data) * st->num); st->num = 0; } |