Skip to content

Commit 717573f

Browse files
author
Krzysztof Stachowiak
committed
Add an NV_SEED test to the config adjustment script
1 parent 8b6a7aa commit 717573f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

features/mbedtls/importer/adjust-config.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ add_code
6666
"#endif\n" \
6767
"\n" \
6868
"#if defined(MBEDTLS_SSL_TLS_C) && !defined(MBEDTLS_TEST_NULL_ENTROPY) && \\\\\n" \
69-
" !defined(MBEDTLS_ENTROPY_HARDWARE_ALT)\n" \
69+
" !defined(MBEDTLS_ENTROPY_HARDWARE_ALT) && \\\\\n" \
70+
" !defined(MBEDTLS_ENTROPY_NV_SEED)\n" \
7071
"#error \"No entropy source was found at build time, so TLS \" \\\\\n" \
7172
" \"functionality is not available\"\n" \
7273
"#endif\n"

0 commit comments

Comments
 (0)