Update ssl_tls.c

Clarification in comments to ssl_handle_possible_reconnect()
This commit is contained in:
Simon Butcher 2015-09-11 17:22:40 +01:00
parent 0789aed39d
commit 74ca8d07ad

View file

@ -3396,7 +3396,7 @@ static int ssl_check_dtls_clihlo_cookie(
* - if anything goes wrong, return a specific error code * - if anything goes wrong, return a specific error code
* *
* mbedtls_ssl_read_record() will ignore the record if anything else than * mbedtls_ssl_read_record() will ignore the record if anything else than
* MBEDTLS_ERR_SSL_CLIENT_RECONNECT or 0 is returned (we never return 0). * MBEDTLS_ERR_SSL_CLIENT_RECONNECT or 0 is returned.
*/ */
static int ssl_handle_possible_reconnect( mbedtls_ssl_context *ssl ) static int ssl_handle_possible_reconnect( mbedtls_ssl_context *ssl )
{ {