mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-13 04:17:23 +00:00
ssl_srv.c: change the initial return variable value
Signed-off-by: Andrzej Kurek <[email protected]>
This commit is contained in:
+1
-1
@@ -4456,7 +4456,7 @@ static int ssl_parse_certificate_verify( mbedtls_ssl_context *ssl )
|
|||||||
#else /* !MBEDTLS_KEY_EXCHANGE__CERT_REQ_ALLOWED__ENABLED */
|
#else /* !MBEDTLS_KEY_EXCHANGE__CERT_REQ_ALLOWED__ENABLED */
|
||||||
static int ssl_parse_certificate_verify( mbedtls_ssl_context *ssl )
|
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;
|
size_t i, sig_len;
|
||||||
unsigned char hash[48];
|
unsigned char hash[48];
|
||||||
unsigned char *hash_start = hash;
|
unsigned char *hash_start = hash;
|
||||||
|
|||||||
Reference in New Issue
Block a user