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

@ -1981,8 +1981,11 @@ static int ssl_parse_server_psk_hint( mbedtls_ssl_context *ssl,
return( MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE );
}
// TODO: Retrieve PSK identity hint and callback to app
//
/*
* Note: we currently ignore the PKS identity hint, as we only allow one
* PSK to be provisionned on the client. This could be changed later if
* someone needs that feature.
*/
*p += len;
ret = 0;