Use "unknown" instead of NULL as name of unknown ciphersuite
This commit is contained in:
parent
9b3ec12863
commit
a1552ac37c
1 changed files with 1 additions and 1 deletions
|
@ -2384,7 +2384,7 @@ const char *mbedtls_ssl_get_ciphersuite_name(
|
|||
if( ciphersuite_id == single_suite_id )
|
||||
return( MBEDTLS_SSL_SUITE_NAME( MBEDTLS_SSL_CONF_SINGLE_CIPHERSUITE ) );
|
||||
|
||||
return( NULL );
|
||||
return( "unknown" );
|
||||
}
|
||||
|
||||
int mbedtls_ssl_get_ciphersuite_id( const char *ciphersuite_name )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue