mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Remove MBEDTLS_ERR_SSL_CERTIFICATE_TOO_LARGE error code
This error is used when the output buffer isn't large enough to hold our own certificate. In the interest of cleaning up the error space for 3.0, this commit removes MBEDTLS_ERR_SSL_CERTIFICATE_TOO_LARGE and replaces its single use by MBEDTLS_ERR_SSL_BUFFER_TOO_SMALL. Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
@ -380,8 +380,6 @@ const char * mbedtls_high_level_strerr( int error_code )
|
||||
return( "SSL - No RNG was provided to the SSL module" );
|
||||
case -(MBEDTLS_ERR_SSL_NO_CLIENT_CERTIFICATE):
|
||||
return( "SSL - No client certification received from the client, but required by the authentication mode" );
|
||||
case -(MBEDTLS_ERR_SSL_CERTIFICATE_TOO_LARGE):
|
||||
return( "SSL - Our own certificate(s) is/are too large to send in an SSL message" );
|
||||
case -(MBEDTLS_ERR_SSL_CERTIFICATE_REQUIRED):
|
||||
return( "SSL - The own certificate is not set, but needed by the server" );
|
||||
case -(MBEDTLS_ERR_SSL_PRIVATE_KEY_REQUIRED):
|
||||
|
Reference in New Issue
Block a user