diff --git a/include/mbedtls/build_info.h b/include/mbedtls/build_info.h index fd61bca6f..0048cee16 100644 --- a/include/mbedtls/build_info.h +++ b/include/mbedtls/build_info.h @@ -123,7 +123,7 @@ /* The following blocks make it easier to disable all of TLS, * or of TLS 1.2 or 1.3 or DTLS, without having to manually disable all - * key and extensions related to them. */ + * key exchanges, options and extensions related to them. */ #if !defined(MBEDTLS_SSL_TLS_C) #undef MBEDTLS_SSL_CLI_C diff --git a/include/mbedtls/check_config.h b/include/mbedtls/check_config.h index c75640d0a..8ed51c21d 100644 --- a/include/mbedtls/check_config.h +++ b/include/mbedtls/check_config.h @@ -872,12 +872,12 @@ #if defined(MBEDTLS_SSL_TLS_C) #if defined(MBEDTLS_USE_PSA_CRYPTO) #if !(defined(PSA_WANT_ALG_SHA_256) || defined(PSA_WANT_ALG_SHA_384)) -#error "MBEDTLS_SSL_PROTO_TLS1_2 defined, but not all prerequisites" +#error "MBEDTLS_SSL_TLS_C defined, but not all prerequisites" #endif #else /* MBEDTLS_USE_PSA_CRYPTO */ #if !defined(MBEDTLS_MD_C) || \ !(defined(MBEDTLS_MD_HAVE_SHA256) || defined(MBEDTLS_MD_HAVE_SHA384)) -#error "MBEDTLS_SSL_PROTO_TLS1_2 defined, but not all prerequisites" +#error "MBEDTLS_SSL_TLS_C defined, but not all prerequisites" #endif #endif /* MBEDTLS_USE_PSA_CRYPTO */ #endif /* MBEDTLS_SSL_TLS_C */