Add note about not implementing PSK id_hint

This commit is contained in:
Manuel Pégourié-Gonnard 2016-02-22 11:10:14 +01:00 committed by Simon Butcher
parent 7ff4b774b7
commit c3cb4c75a5
3 changed files with 12 additions and 3 deletions

View file

@ -2718,7 +2718,8 @@ static int ssl_write_server_key_exchange( mbedtls_ssl_context *ssl )
if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_PSK ||
ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_PSK )
{
/* TODO: Support identity hints */
/* Note: we don't support identity hints, until someone asks
* for them. */
*(p++) = 0x00;
*(p++) = 0x00;