mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Fixed client certificate handling with TLS 1.2
This commit is contained in:
parent
e667c98fb1
commit
926af7582a
3 changed files with 201 additions and 47 deletions
|
|
@ -192,6 +192,11 @@
|
|||
|
||||
#define SSL_SIG_RSA 1
|
||||
|
||||
/*
|
||||
* Client Certificate Types
|
||||
*/
|
||||
#define SSL_CERT_TYPE_RSA_SIGN 1
|
||||
|
||||
/*
|
||||
* Message, alert and handshake types
|
||||
*/
|
||||
|
|
@ -351,6 +356,8 @@ struct _ssl_handshake_params
|
|||
* Handshake specific crypto variables
|
||||
*/
|
||||
int sig_alg; /*!< Signature algorithm */
|
||||
int cert_type; /*!< Requested cert type */
|
||||
int verify_sig_alg; /*!< Signature algorithm for verify */
|
||||
#if defined(POLARSSL_DHM_C)
|
||||
dhm_context dhm_ctx; /*!< DHM key exchange */
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue