mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 12:55:38 +01:00
Add changelog entry regarding the pre-verify callback
Fix minor typos
This commit is contained in:
parent
7601686acb
commit
10b400bd68
@ -10,7 +10,9 @@ Changes
|
||||
* Remove some redundant code in bignum.c. Contributed by Alexey Skalozub.
|
||||
* Support cmake build where Mbed TLS is a subproject. Fix
|
||||
contributed independently by Matthieu Volat and Arne Schwabe.
|
||||
|
||||
* Add a pre-verify callback to ssl.h to receive notification before
|
||||
the X.509 chain building. Contributed by Nick Wilson.
|
||||
|
||||
= mbed TLS 2.8.0 branch released 2018-03-16
|
||||
|
||||
Default behavior changes
|
||||
|
@ -636,11 +636,11 @@ struct mbedtls_ssl_config
|
||||
#if defined(MBEDTLS_X509_CRT_PARSE_C)
|
||||
/** Callback to receive notification before X.509 chain building */
|
||||
mbedtls_ssl_pre_verify_t *f_pre_vrfy;
|
||||
void *p_pre_vrfy; /*!< context for pre-verify calllback */
|
||||
void *p_pre_vrfy; /*!< context for pre-verify callback */
|
||||
|
||||
/** Callback to customize X.509 certificate chain verification */
|
||||
int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *);
|
||||
void *p_vrfy; /*!< context for X.509 verify calllback */
|
||||
void *p_vrfy; /*!< context for X.509 verify callback */
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED)
|
||||
@ -1104,7 +1104,7 @@ void mbedtls_ssl_conf_verify( mbedtls_ssl_config *conf,
|
||||
*/
|
||||
void mbedtls_ssl_conf_pre_verify( mbedtls_ssl_config *conf,
|
||||
mbedtls_ssl_pre_verify_t *f_pre_vrfy,
|
||||
void *p_pre_vrfy);
|
||||
void *p_pre_vrfy );
|
||||
#endif /* MBEDTLS_X509_CRT_PARSE_C */
|
||||
|
||||
/**
|
||||
|
@ -5888,8 +5888,8 @@ void mbedtls_ssl_conf_pre_verify( mbedtls_ssl_config *conf,
|
||||
mbedtls_ssl_pre_verify_t *f_pre_vrfy,
|
||||
void *p_pre_vrfy)
|
||||
{
|
||||
conf->f_pre_vrfy = f_pre_vrfy;
|
||||
conf->p_pre_vrfy = p_pre_vrfy;
|
||||
conf->f_pre_vrfy = f_pre_vrfy;
|
||||
conf->p_pre_vrfy = p_pre_vrfy;
|
||||
}
|
||||
#endif /* MBEDTLS_X509_CRT_PARSE_C */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user