Change restart context type.
No need to have both x509 and ecdsa, as the former contains the later.
This commit is contained in:
parent
d27d1a5a82
commit
6b7301c872
3 changed files with 5 additions and 5 deletions
|
@ -228,7 +228,7 @@ struct mbedtls_ssl_handshake_params
|
|||
#endif /* MBEDTLS_X509_CRT_PARSE_C */
|
||||
#if defined(MBEDTLS_SSL__ECP_RESTARTABLE)
|
||||
int ecrs_enabled; /*!< Handshake supports EC restart? */
|
||||
mbedtls_ecdsa_restart_ctx ecrs_ctx; /*!< ECDSA restart context */
|
||||
mbedtls_x509_crt_restart_ctx ecrs_ctx; /*!< restart context */
|
||||
enum {
|
||||
ssl_ecrs_init = 0, /*!< just getting started */
|
||||
ssl_ecrs_ske_read, /*!< ServerKeyExchange was read */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue