Dear all,
I Used the TLS client of mbedtls-2.26.0 to connect to a TLS server,
-
Client settings: if ((RET = mbedtls_ssl_conf_max_frag_len (& Conf, mbedtls_ssl_max_frag_len_1024))! = 0)
-
Tls1.0 protocol is adopted for client and server.
-
The server transmits three certificates with a certificate size of 3420 bytes.
Then i got a problem:
During Handshake:
mbedtls_ssl_handshake_client_step
case MBEDTLS_SSL_SERVER_CERTIFICATE:
ret = mbedtls_ssl_parse_certificate( ssl );
Error:
/* With TLS we don’t handle fragmentation (for now) */
if( ssl->in_msglen < ssl->in_hslen )
{
MBEDTLS_SSL_DEBUG_MSG( 1, ( “TLS handshake fragmentation not supported” ) );
return( MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE );
}
So,why? And how to issue this problem?
Thanks a lot!!!