Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: easy-connect-httpmodified mbed-http
Fork of http-example-wnc-modified by
Diff: mbedtls_entropy_config.h
- Revision:
- 2:4b4ac59ff9b0
- Parent:
- 0:85fdc69bc10c
- Child:
- 4:27fd8efb5bab
--- a/mbedtls_entropy_config.h Thu Feb 16 11:13:40 2017 +0100 +++ b/mbedtls_entropy_config.h Thu Feb 16 11:48:57 2017 +0100 @@ -19,8 +19,6 @@ #include "select-demo.h" -#if DEMO == DEMO_HTTPS - /* Enable entropy for K64F and K22F. This means entropy is disabled for all other targets. */ /* Do **NOT** deploy this code in production on other targets! */ /* See https://tls.mbed.org/kb/how-to/add-entropy-sources-to-entropy-pool */ @@ -29,6 +27,8 @@ #undef MBEDTLS_TEST_NULL_ENTROPY #endif +#if DEMO == DEMO_HTTPS + #if !defined(MBEDTLS_ENTROPY_HARDWARE_ALT) && \ !defined(MBEDTLS_ENTROPY_NV_SEED) && !defined(MBEDTLS_TEST_NULL_ENTROPY) #error "This hardware does not have an entropy source."