mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-22 13:41:04 +00:00
Clarified ssl_set_ciphersuites() doc for influencing preference as well
This commit is contained in:
parent
4c52af24cf
commit
cf1d73b213
|
@ -972,17 +972,22 @@ void ssl_set_session_cache( ssl_context *ssl,
|
||||||
int ssl_set_session( ssl_context *ssl, const ssl_session *session );
|
int ssl_set_session( ssl_context *ssl, const ssl_session *session );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Set the list of allowed ciphersuites
|
* \brief Set the list of allowed ciphersuites and the preference
|
||||||
|
* order. First in the list has the highest preference.
|
||||||
* (Overrides all version specific lists)
|
* (Overrides all version specific lists)
|
||||||
*
|
*
|
||||||
|
* Note: The PolarSSL SSL server uses its own preferences
|
||||||
|
* over the preference of the connection SSL client unless
|
||||||
|
* POLARSSL_SSL_SRV_RESPECT_CLIENT_PREFERENCE is defined!
|
||||||
|
*
|
||||||
* \param ssl SSL context
|
* \param ssl SSL context
|
||||||
* \param ciphersuites 0-terminated list of allowed ciphersuites
|
* \param ciphersuites 0-terminated list of allowed ciphersuites
|
||||||
*/
|
*/
|
||||||
void ssl_set_ciphersuites( ssl_context *ssl, const int *ciphersuites );
|
void ssl_set_ciphersuites( ssl_context *ssl, const int *ciphersuites );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Set the list of allowed ciphersuites for a specific
|
* \brief Set the list of allowed ciphersuites and the
|
||||||
* version of the protocol.
|
* preference order for a specific version of the protocol.
|
||||||
* (Only useful on the server side)
|
* (Only useful on the server side)
|
||||||
*
|
*
|
||||||
* \param ssl SSL context
|
* \param ssl SSL context
|
||||||
|
|
Loading…
Reference in a new issue