From 9d3e2fa37249925749e4c7e79b2b3776be73cbf0 Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Mon, 27 Jun 2022 22:14:01 +0800 Subject: [PATCH] Add negative tests Signed-off-by: Jerry Yu --- library/ssl_tls13_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/ssl_tls13_server.c b/library/ssl_tls13_server.c index 2d751d6564..144c70d472 100644 --- a/library/ssl_tls13_server.c +++ b/library/ssl_tls13_server.c @@ -412,8 +412,8 @@ static int ssl_tls13_pick_key_cert( mbedtls_ssl_context *ssl ) } } - MBEDTLS_SSL_DEBUG_MSG( 2, ( "ssl_tls13_pick_key_cert: " - "no suitable signature algorithm found" ) ); + MBEDTLS_SSL_DEBUG_MSG( 2, ( "ssl_tls13_pick_key_cert:" + "no suitable certificate found" ) ); return( -1 ); } #endif /* MBEDTLS_X509_CRT_PARSE_C &&