mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-08 08:35:38 +00:00
Adding delayed server cert verification config option
This commit is contained in:
parent
c7f6d7f75c
commit
f336c7ea71
|
@ -40,6 +40,15 @@
|
||||||
* \{
|
* \{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \def MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION
|
||||||
|
*
|
||||||
|
* Enable the delayed verification of server
|
||||||
|
* certificates on the client side.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#define MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \def MBEDTLS_HAVE_ASM
|
* \def MBEDTLS_HAVE_ASM
|
||||||
*
|
*
|
||||||
|
@ -1592,6 +1601,20 @@
|
||||||
*/
|
*/
|
||||||
#define MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
|
#define MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \def MBEDTLS_SSL_FREE_SERVER_CERTIFICATE
|
||||||
|
*
|
||||||
|
* This option controls determines whether the server certificate is discarded
|
||||||
|
* after a handshake when the MBEDTLS_SSL_KEEP_PEER_CERTIFICATE is enabled.
|
||||||
|
*
|
||||||
|
* Use of this option is useful in combined with the delayed certificate verification
|
||||||
|
* when the server certificate has to be kept for the duration of the handshake
|
||||||
|
* but not afterwards.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#define MBEDTLS_SSL_FREE_SERVER_CERTIFICATE
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \def MBEDTLS_SSL_HW_RECORD_ACCEL
|
* \def MBEDTLS_SSL_HW_RECORD_ACCEL
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue