From 2736d1983cf2f52c7e22cda9888d46bf6a48946f Mon Sep 17 00:00:00 2001
From: Hanno Becker <hanno.becker@arm.com>
Date: Fri, 26 Jul 2019 07:49:02 +0100
Subject: [PATCH] Fix and improve documentation of MBEDTLS_SSL_CONF_SINGLE_EC

---
 include/mbedtls/config.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h
index fb0f26ea9..7475810ec 100644
--- a/include/mbedtls/config.h
+++ b/include/mbedtls/config.h
@@ -3670,7 +3670,7 @@
  * If this is set, you must also define the following:
  * - MBEDTLS_SSL_CONF_SINGLE_EC_GRP_ID
  *   This must resolve to the Mbed TLS group ID for the elliptic
- *   curve to use (e.g. MBEDTLS_ECP_DP_SECP256R1_ENABLED); see
+ *   curve to use (e.g. MBEDTLS_ECP_DP_SECP256R1); see
  *   ::mbedtls_ecp_group_id in mbedtls/ecp.h for a complete list
  *   of curve identifiers.
  * - MBEDTLS_SSL_CONF_SINGLE_EC_TLS_ID
@@ -3682,8 +3682,8 @@
  * runtime configuration API mbedtls_ssl_conf_curves().
  */
 //#define MBEDTLS_SSL_CONF_SINGLE_EC
-//#define MBEDTLS_SSL_CONF_SINGLE_EC_TLS_ID
-//#define MBEDTLS_SSL_CONF_SINGLE_EC_GRP_ID
+//#define MBEDTLS_SSL_CONF_SINGLE_EC_TLS_ID 23
+//#define MBEDTLS_SSL_CONF_SINGLE_EC_GRP_ID MBEDTLS_ECP_DP_SECP256R1
 
 /* Enable support a single signature hash algorithm
  * at compile-time, at the benefit of code-size.