Add warnings about status of implementation of CID API
diff --git a/library/ssl_tls.c b/library/ssl_tls.c
index f9b3ad1..71ef949 100644
--- a/library/ssl_tls.c
+++ b/library/ssl_tls.c
@@ -111,6 +111,9 @@
/* Top-level Connection ID API */
+/* WARNING: This implementation is a stub and doesn't do anything!
+ * It is included solely to allow review and coding against
+ * the new Connection CID API. */
int mbedtls_ssl_set_cid( mbedtls_ssl_context *ssl,
int enable,
unsigned char const *own_cid,
@@ -123,6 +126,9 @@
return( 0 );
}
+/* WARNING: This implementation is a stub and doesn't do anything!
+ * It is included solely to allow review and coding against
+ * the new Connection CID API. */
int mbedtls_ssl_get_peer_cid( mbedtls_ssl_context *ssl,
int *enabled,
unsigned char peer_cid[ MBEDTLS_SSL_CID_OUT_LEN_MAX ],