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