Merge pull request #4953 from yuhaoth/pr/add-tls13-read-certificate-verfify

TLS1.3: CertificateVerify:add tls13 read certificate verfify
This commit is contained in:
Ronald Cron 2021-11-08 09:36:35 +01:00 committed by GitHub
commit 260f5d9413
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 341 additions and 27 deletions

View file

@ -1582,7 +1582,12 @@ static int ssl_tls1_3_process_server_certificate( mbedtls_ssl_context *ssl )
*/
static int ssl_tls1_3_process_certificate_verify( mbedtls_ssl_context *ssl )
{
MBEDTLS_SSL_DEBUG_MSG( 1, ( "%s hasn't been implemented", __func__ ) );
int ret;
ret = mbedtls_ssl_tls13_process_certificate_verify( ssl );
if( ret != 0 )
return( ret );
mbedtls_ssl_handshake_set_state( ssl, MBEDTLS_SSL_SERVER_FINISHED );
return( 0 );
}