Update CMakeLists.txt

both CMakeLists.txt and source use ENABLE_XXX
This commit is contained in:
Zhi Guan
2023-12-17 16:33:51 +08:00
parent 2c988b008b
commit 04cbd81651
15 changed files with 85 additions and 91 deletions

View File

@@ -37,7 +37,7 @@
int main(void)
{
// currently we only has SHA-1 test suites
#ifdef ENABLE_BROKEN_CRYPTO
#ifdef ENABLE_SHA1
HASH_DRBG drbg;
uint8_t entropy[sizeof(EntropyInput)/2];
@@ -89,6 +89,6 @@ int main(void)
printf("%02x", out[i]);
}
printf("\n");
#endif
#endif // ENABLE_SHA1
return 0;
}