From d0bf6a38913b2f4762ea1ec75472dba4b4d6d596 Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Fri, 11 Sep 2015 17:34:49 +0100 Subject: [PATCH] Update ssl_tls.c Clarification in comments --- library/ssl_tls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 0e7bd4d20..2abd18b05 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -3396,7 +3396,8 @@ static int ssl_check_dtls_clihlo_cookie( * - if anything goes wrong, return a specific error code * * mbedtls_ssl_read_record() will ignore the record if anything else than - * MBEDTLS_ERR_SSL_CLIENT_RECONNECT or 0 is returned. + * MBEDTLS_ERR_SSL_CLIENT_RECONNECT or 0 is returned, although this function + * cannot not return 0. */ static int ssl_handle_possible_reconnect( mbedtls_ssl_context *ssl ) {