Turn MBEDTLS_SSL_SRV_RESPECT_CLIENT_PREFERENCE configuration option into a runtime option #4398
Labels
component-tls
enhancement
good-first-issue
Good for newcomers
size-s
Estimated task size: small (~2d)
Context
The configuration option MBEDTLS_SSL_SRV_RESPECT_CLIENT_PREFERENCE allows during TLS handshake to select the ciphersuite according to the client's preferences rather than the server's preferences.
Rationale
The capability provided by the option seems to be useful and used (see #4244 for example) but the code size reduction is marginal thus the decision to turn it to a runtime option.
Work items for 3.0
MBEDTLS_SSL_SRV_RESPECT_CLIENT_PREFERENCE
fromconfig.h
and all references to it in the code base.mbedtls_ssl_config
and the API to enable/disable it (something likevoid mbedtls_ssl_conf_respect_client_preference( mbedtls_ssl_config *conf, int enable )
it seems.The text was updated successfully, but these errors were encountered: