Improve wording of documentation of new session resumption API
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h
index 6fa380d..1e8976e 100644
--- a/include/mbedtls/ssl.h
+++ b/include/mbedtls/ssl.h
@@ -2386,8 +2386,8 @@
* to reject any attempt for resumption and fall back to
* a full handshake.
*
- * \note The mechanism of session resumption is opaque to this
- * call: For TLS 1.2, both session ID-based resumption and
+ * \note This function can handle a variety of mechanisms for session
+ * resumption: For TLS 1.2, both session ID-based resumption and
* ticket-based resumption will be considered. For TLS 1.3,
* once implemented, sessions equate to tickets, and loading
* one or more sessions via this call will lead to their
@@ -3718,8 +3718,8 @@
* This must have been initialized with mbedtls_ssl_init_session()
* but otherwise be unused.
*
- * \note The mechanism of session resumption is opaque to this
- * call: For TLS 1.2, both session ID-based resumption and
+ * \note This function can handle a variety of mechanism for session
+ * resumption: For TLS 1.2, both session ID-based resumption and
* ticket-based resumption will be considered. For TLS 1.3,
* once implemented, sessions equate to tickets, and calling
* this function multiple times will export the available