VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Crc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Crc.c')
-rw-r--r--src/Common/Crc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Common/Crc.c b/src/Common/Crc.c
index 295bf8da..7e18cb4f 100644
--- a/src/Common/Crc.c
+++ b/src/Common/Crc.c
@@ -120,8 +120,9 @@ unsigned __int32 GetCrc32 (unsigned char *data, int length)
return r ^ 0xFFFFFFFFUL;
}
+#if 0
BOOL crc32_selftests ()
{
unsigned __int8 testData[32];
unsigned __int8 i;
@@ -130,6 +131,7 @@ BOOL crc32_selftests ()
testData[i] = i;
return GetCrc32 (testData, sizeof (testData)) == 0x91267E8AUL;
}
+#endif
#endif // TC_MINIMIZE_CODE_SIZE