mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Change restart context type.
No need to have both x509 and ecdsa, as the former contains the later.
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user