ssl_srv.c: change the initial return variable value

Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek 2020-08-10 07:11:04 -04:00
parent ff51721e99
commit ef34494d80
No known key found for this signature in database
GPG key ID: 89A90840DC388527

View file

@ -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;