ssl_context_info: fix config requirements
Revealed by attempting to build in configs/config-no-entropy.h. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
db6e33e12a
commit
f4a6a05e9d
1 changed files with 4 additions and 2 deletions
|
@ -26,10 +26,12 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if !defined(MBEDTLS_X509_CRT_PARSE_C) || !defined(MBEDTLS_ERROR_C)
|
||||
#if !defined(MBEDTLS_X509_CRT_PARSE_C) || !defined(MBEDTLS_ERROR_C) || \
|
||||
!defined(MBEDTLS_SSL_TLS_C)
|
||||
int main( void )
|
||||
{
|
||||
printf("MBEDTLS_X509_CRT_PARSE_C and/or MBEDTLS_ERROR_C not defined.\n");
|
||||
printf("MBEDTLS_X509_CRT_PARSE_C and/or MBEDTLS_ERROR_C and/or "
|
||||
"MBEDTLS_SSL_TLS_C not defined.\n");
|
||||
return( 0 );
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue