Add internal macro ENTROPY_HAVE_DEFAULT indicating default entropy
This commit adds the macro ENTROPY_HAVE_DEFAULT to the helper test file tests/suites/helpers.function to be able to make
tests depend on the presence of a default entropy source.
diff --git a/library/entropy.c b/library/entropy.c
index c6f44df..edd5721 100644
--- a/library/entropy.c
+++ b/library/entropy.c
@@ -61,6 +61,9 @@
{
memset( ctx, 0, sizeof(entropy_context) );
+ /* Reminder: Update ENTROPY_HAVE_DEFAULT in the test files
+ * when adding more strong entropy sources here. */
+
#if defined(POLARSSL_THREADING_C)
polarssl_mutex_init( &ctx->mutex );
#endif