Documentation tune-ups

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-06 14:42:06 +01:00
parent bc2b771af4
commit 8620f73cdc

View file

@ -1176,9 +1176,6 @@ int mbedtls_ssl_session_reset( mbedtls_ssl_context *ssl );
*
* \param conf SSL configuration
* \param endpoint must be MBEDTLS_SSL_IS_CLIENT or MBEDTLS_SSL_IS_SERVER
*
* \note This function should be called right after mbedtls_ssl_init() since
* some other ssl_set_foo() functions depend on it.
*/
void mbedtls_ssl_set_endpoint( mbedtls_ssl_config *conf, int endpoint );
@ -1192,9 +1189,6 @@ void mbedtls_ssl_set_endpoint( mbedtls_ssl_config *conf, int endpoint );
* MBEDTLS_SSL_TRANSPORT_DATAGRAM for DTLS.
* \return 0 on success or MBEDTLS_ERR_SSL_BAD_INPUT_DATA
*
* \note If DTLS is selected and max and/or min version are less
* than TLS 1.1 (DTLS 1.0) they are upped to that value.
*
* \note For DTLS, you must either provide a recv callback that
* doesn't block, or one that handles timeouts, see
* mbedtls_ssl_set_bio_timeout()
@ -2255,6 +2249,8 @@ void mbedtls_ssl_config_init( mbedtls_ssl_config *conf );
*
* \param conf SSL configuration context
*
* \note See \c mbedtls_ssl_set_transport() for notes on DTLS.
*
* \return 0 if successful, or
* MBEDTLS_ERR_XXX_ALLOC_FAILED on memorr allocation error.
*/