mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-01 08:46:32 +00:00
Improve documentation of mbedtls_ssl_conf_verify()
This commit is contained in:
parent
d5d01a0435
commit
7b58fb1d1c
|
@ -1366,13 +1366,17 @@ void mbedtls_ssl_conf_authmode( mbedtls_ssl_config *conf, int authmode );
|
||||||
/**
|
/**
|
||||||
* \brief Set the verification callback (Optional).
|
* \brief Set the verification callback (Optional).
|
||||||
*
|
*
|
||||||
* If set, the verify callback is called for each
|
* If set, the provided verify callback is called for each
|
||||||
* certificate in the chain. For implementation
|
* certificate in the peer's CRT chain, including the trusted
|
||||||
* information, please see \c mbedtls_x509_crt_verify()
|
* root. For more information, please see the documentation of
|
||||||
|
* \c mbedtls_x509_crt_verify().
|
||||||
*
|
*
|
||||||
* \param conf SSL configuration
|
* \note For per context callbacks and contexts, please use
|
||||||
* \param f_vrfy verification function
|
* mbedtls_ssl_set_verify() instead.
|
||||||
* \param p_vrfy verification parameter
|
*
|
||||||
|
* \param conf The SSL configuration to use.
|
||||||
|
* \param f_vrfy The verification callback to use during CRT verification.
|
||||||
|
* \param p_vrfy The opaque context to be passed to the callback.
|
||||||
*/
|
*/
|
||||||
void mbedtls_ssl_conf_verify( mbedtls_ssl_config *conf,
|
void mbedtls_ssl_conf_verify( mbedtls_ssl_config *conf,
|
||||||
int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *),
|
int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *),
|
||||||
|
|
Loading…
Reference in a new issue