1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Merge pull request #3867 from gilles-peskine-arm/error-include-string

Fix several configuration-related issues
This commit is contained in:
Gilles Peskine
2020-11-17 20:32:59 +01:00
committed by GitHub
8 changed files with 54 additions and 26 deletions

View File

@@ -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