Add error condition for bad user configurations
This commit adds an error condition for bad user configurations and updates the number of SSL module errors in error.h. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
261602cb34
commit
b4c0b7556d
3 changed files with 4 additions and 1 deletions
|
@ -522,6 +522,8 @@ const char * mbedtls_high_level_strerr( int error_code )
|
|||
return( "SSL - An operation failed due to an unexpected version or configuration" );
|
||||
case -(MBEDTLS_ERR_SSL_CRYPTO_IN_PROGRESS):
|
||||
return( "SSL - A cryptographic operation is in progress. Try again later" );
|
||||
case -(MBEDTLS_ERR_SSL_BAD_CONFIG):
|
||||
return( "SSL - Invalid value in SSL config" );
|
||||
#endif /* MBEDTLS_SSL_TLS_C */
|
||||
|
||||
#if defined(MBEDTLS_X509_USE_C) || defined(MBEDTLS_X509_CREATE_C)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue