From ef34494d80ed077fb5c57d4e77ec76baf79a8d23 Mon Sep 17 00:00:00 2001 From: Andrzej Kurek Date: Mon, 10 Aug 2020 07:11:04 -0400 Subject: [PATCH] ssl_srv.c: change the initial return variable value Signed-off-by: Andrzej Kurek --- library/ssl_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_srv.c b/library/ssl_srv.c index 34479246c..1b29cc839 100644 --- a/library/ssl_srv.c +++ b/library/ssl_srv.c @@ -4456,7 +4456,7 @@ static int ssl_parse_certificate_verify( mbedtls_ssl_context *ssl ) #else /* !MBEDTLS_KEY_EXCHANGE__CERT_REQ_ALLOWED__ENABLED */ static int ssl_parse_certificate_verify( mbedtls_ssl_context *ssl ) { - volatile int ret = MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE; + volatile int ret = MBEDTLS_ERR_PLATFORM_FAULT_DETECTED; size_t i, sig_len; unsigned char hash[48]; unsigned char *hash_start = hash;