Fix typos and other small issues in doc
diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h
index 4fa5cb4..fdd3595 100644
--- a/include/mbedtls/ssl.h
+++ b/include/mbedtls/ssl.h
@@ -1075,7 +1075,7 @@
* \note On server, session tickets are enabled by providing
* non-NULL callbacks.
*
- * \note On client, use \c mbedtls_ssl_conf_seesion_tickets().
+ * \note On client, use \c mbedtls_ssl_conf_session_tickets().
*
* \param conf SSL configuration context
* \param f_ticket_write Callback for writing a ticket
@@ -2076,7 +2076,7 @@
/**
* \brief Initialize an SSL configuration context
* Just makes the context ready for
- * mbedtls_ssl_config_defaults() or mbedtls_ssl_free()
+ * mbedtls_ssl_config_defaults() or mbedtls_ssl_config_free().
*
* \note You need to call mbedtls_ssl_config_defaults() unless you
* manually set all of the relevent fields yourself.
@@ -2090,11 +2090,14 @@
* (You need to call mbedtls_ssl_config_init() first.)
*
* \param conf SSL configuration context
+ * \param endpoint MBEDTLS_SSL_IS_CLIENT or MBEDTLS_SSL_IS_SERVER
+ * \param transport MBEDTLS_SSL_TRANSPORT_STREAM for TLS, or
+ * MBEDTLS_SSL_TRANSPORT_DATAGRAM for DTLS
*
* \note See \c mbedtls_ssl_conf_transport() for notes on DTLS.
*
* \return 0 if successful, or
- * MBEDTLS_ERR_XXX_ALLOC_FAILED on memorr allocation error.
+ * MBEDTLS_ERR_XXX_ALLOC_FAILED on memory allocation error.
*/
int mbedtls_ssl_config_defaults( mbedtls_ssl_config *conf,
int endpoint, int transport );