fix various issues

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2022-04-17 10:57:57 +08:00
parent 03ed50ba6a
commit 4d8567fa9e
2 changed files with 5 additions and 5 deletions

View File

@ -1479,7 +1479,7 @@ static int ssl_tls13_write_certificate_verify( mbedtls_ssl_context *ssl )
/*
* State Handler: MBEDTLS_SSL_SERVER_FINISHED
*/
int ssl_tls13_write_server_finished( mbedtls_ssl_context *ssl )
static int ssl_tls13_write_server_finished( mbedtls_ssl_context *ssl )
{
int ret;
@ -1494,7 +1494,7 @@ int ssl_tls13_write_server_finished( mbedtls_ssl_context *ssl )
/*
* State Handler: MBEDTLS_SSL_CLIENT_FINISHED
*/
int ssl_tls13_process_client_finished( mbedtls_ssl_context *ssl )
static int ssl_tls13_process_client_finished( mbedtls_ssl_context *ssl )
{
int ret;
MBEDTLS_SSL_DEBUG_MSG( 1,
@ -1512,7 +1512,7 @@ int ssl_tls13_process_client_finished( mbedtls_ssl_context *ssl )
/*
* State Handler: MBEDTLS_SSL_FLUSH_BUFFERS
*/
int ssl_tls13_flush_buffers( mbedtls_ssl_context *ssl )
static int ssl_tls13_flush_buffers( mbedtls_ssl_context *ssl )
{
((void) ssl);
return( MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE );
@ -1521,7 +1521,7 @@ int ssl_tls13_flush_buffers( mbedtls_ssl_context *ssl )
/*
* State Handler: MBEDTLS_SSL_HANDSHAKE_WRAPUP
*/
int ssl_tls13_handshake_wrapup( mbedtls_ssl_context *ssl )
static int ssl_tls13_handshake_wrapup( mbedtls_ssl_context *ssl )
{
MBEDTLS_SSL_DEBUG_MSG( 2, ( "handshake: done" ) );

View File

@ -11201,7 +11201,7 @@ requires_openssl_tls1_3
run_test "TLS 1.3: Server side check - openssl" \
"$P_SRV debug_level=4 crt_file=data_files/server5.crt key_file=data_files/server5.key force_version=tls13 tickets=0" \
"$O_NEXT_CLI -msg -debug -tls1_3" \
1 \
0 \
-s "tls13 server state: MBEDTLS_SSL_CLIENT_HELLO" \
-s "tls13 server state: MBEDTLS_SSL_SERVER_HELLO" \
-s "tls13 server state: MBEDTLS_SSL_ENCRYPTED_EXTENSIONS" \