VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/Rmd160.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Crypto/Rmd160.c')
-rw-r--r--src/Crypto/Rmd160.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Crypto/Rmd160.c b/src/Crypto/Rmd160.c
index f90bf296..7441dd7d 100644
--- a/src/Crypto/Rmd160.c
+++ b/src/Crypto/Rmd160.c
@@ -140,7 +140,9 @@ 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]);
+#ifndef TC_WINDOWS_BOOT
burn (ctx, sizeof(*ctx));
+#endif
}
}