From 62327abd65860121bbdb1e8dd79951e4b146af94 Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Mon, 1 Jul 2019 15:57:20 +0100 Subject: [PATCH] [Fixup] Fix typo in check_config.h using #define instead of #error --- include/mbedtls/check_config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/mbedtls/check_config.h b/include/mbedtls/check_config.h index 496f7e1ae..735a1e419 100644 --- a/include/mbedtls/check_config.h +++ b/include/mbedtls/check_config.h @@ -668,7 +668,7 @@ !defined(MBEDTLS_SSL_CONF_ENFORCE_EXTENDED_MASTER_SECRET) ) || \ ( !defined(MBEDTLS_SSL_CONF_EXTENDED_MASTER_SECRET) && \ defined(MBEDTLS_SSL_CONF_ENFORCE_EXTENDED_MASTER_SECRET) ) -#define "MBEDTLS_SSL_CONF_EXTENDED_MASTER_SECRET and MBEDTLS_SSL_CONF_ENFORCE_EXTENDED_MASTER_SECRET must be defined together." +#error "MBEDTLS_SSL_CONF_EXTENDED_MASTER_SECRET and MBEDTLS_SSL_CONF_ENFORCE_EXTENDED_MASTER_SECRET must be defined together." #endif #if ( defined(MBEDTLS_SSL_CONF_SEND) && \ @@ -680,14 +680,14 @@ ( defined(MBEDTLS_SSL_CONF_RECV_TIMEOUT) && \ !( defined(MBEDTLS_SSL_CONF_SEND) && \ defined(MBEDTLS_SSL_CONF_RECV) ) ) -#define "MBEDTLS_SSL_CONF_SEND/RECV/RECV_TIMEOUT must be defined simultaneously" +#error "MBEDTLS_SSL_CONF_SEND/RECV/RECV_TIMEOUT must be defined simultaneously" #endif #if ( defined(MBEDTLS_SSL_CONF_GET_TIMER) && \ !defined(MBEDTLS_SSL_CONF_SET_TIMER) ) || \ ( !defined(MBEDTLS_SSL_CONF_GET_TIMER) && \ defined(MBEDTLS_SSL_CONF_SET_TIMER) ) -#define "MBEDTLS_SSL_CONF_GET_TIMER and MBEDTLS_SSL_CONF_SET_TIMER must be defined together." +#error "MBEDTLS_SSL_CONF_GET_TIMER and MBEDTLS_SSL_CONF_SET_TIMER must be defined together." #endif #if defined(MBEDTLS_SSL_TICKET_C) && !defined(MBEDTLS_CIPHER_C)