Skip to content

Commit b6f5e51

Browse files
author
itayzafrir
committed
Change the message printed for missing defines
1 parent 481cf0f commit b6f5e51

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

main.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@
5555
!defined(MBEDTLS_CIPHER_MODE_WITH_PADDING)
5656
int main(void)
5757
{
58-
mbedtls_printf("MBEDTLS_PSA_CRYPTO_C and/or MBEDTLS_AES_C and/or "
59-
"MBEDTLS_CIPHER_MODE_CBC and/or MBEDTLS_CIPHER_MODE_CTR "
60-
"and/or MBEDTLS_CIPHER_MODE_WITH_PADDING "
61-
"not defined.\r\n");
58+
mbedtls_printf("Not all of the required options are defined:\r\n"
59+
" - MBEDTLS_PSA_CRYPTO_C\r\n"
60+
" - MBEDTLS_AES_C\r\n"
61+
" - MBEDTLS_CIPHER_MODE_CBC\r\n"
62+
" - MBEDTLS_CIPHER_MODE_CTR\r\n"
63+
" - MBEDTLS_CIPHER_MODE_WITH_PADDING\r\n");
6264
return 0;
6365
}
6466
#else

0 commit comments

Comments
 (0)