VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/Crypto')
-rw-r--r--src/Crypto/Rmd160.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Crypto/Rmd160.c b/src/Crypto/Rmd160.c
index cd215668..f90bf296 100644
--- a/src/Crypto/Rmd160.c
+++ b/src/Crypto/Rmd160.c
@@ -140,7 +140,7 @@ void RMD160Final(unsigned char *digest, RMD160_CTX *ctx)
if (digest) {
for (i = 0; i < 5; i++)
PUT_32BIT_LE(digest + i * 4, ctx->state[i]);
- memset (ctx, 0, sizeof(*ctx));
+ burn (ctx, sizeof(*ctx));
}
}