Don't use ssl_check_xxx() for functions with void return
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
diff --git a/library/ssl_srv.c b/library/ssl_srv.c
index 7bdad3d..bdfdebc 100644
--- a/library/ssl_srv.c
+++ b/library/ssl_srv.c
@@ -2765,7 +2765,7 @@
}
#endif /* MBEDTLS_SSL_DTLS_HELLO_VERIFY */
-static void ssl_check_id_based_session_resumption( mbedtls_ssl_context *ssl )
+static void ssl_handle_id_based_session_resumption( mbedtls_ssl_context *ssl )
{
int ret;
mbedtls_ssl_session session_tmp;
@@ -2883,7 +2883,7 @@
MBEDTLS_SSL_DEBUG_BUF( 3, "server hello, random bytes", buf + 6, 32 );
- ssl_check_id_based_session_resumption( ssl );
+ ssl_handle_id_based_session_resumption( ssl );
if( ssl->handshake->resume == 0 )
{