From 6272c4d4aa720ab7eaff733c922b62ec286fb0a7 Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Wed, 22 Jun 2022 13:46:55 +0800 Subject: [PATCH] Revert unnecessary space change Signed-off-by: Jerry Yu --- library/ssl_tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 5f6526b64..8a729757d 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -978,6 +978,7 @@ static void ssl_fix_server_side_negotiation_fail( mbedtls_ssl_context *ssl ); /* * Setup an SSL context */ + int mbedtls_ssl_setup( mbedtls_ssl_context *ssl, const mbedtls_ssl_config *conf ) { @@ -8180,7 +8181,6 @@ int mbedtls_ssl_write_sig_alg_ext( mbedtls_ssl_context *ssl, unsigned char *buf, { if( ! mbedtls_ssl_sig_alg_is_supported( ssl, *sig_alg ) ) continue; - MBEDTLS_SSL_CHK_BUF_PTR( p, end, 2 ); MBEDTLS_PUT_UINT16_BE( *sig_alg, p, 0 ); p += 2;