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
|
@ -2615,7 +2615,7 @@ ske_process:
|
|||
|
||||
#if defined(MBEDTLS_SSL__ECP_RESTARTABLE)
|
||||
if( ssl->handshake->ecrs_enabled )
|
||||
rs_ctx = &ssl->handshake->ecrs_ctx;
|
||||
rs_ctx = &ssl->handshake->ecrs_ctx.ecdsa;
|
||||
#endif
|
||||
|
||||
if( ( ret = mbedtls_pk_verify_restartable(
|
||||
|
@ -3290,7 +3290,7 @@ keys_derived:
|
|||
|
||||
#if defined(MBEDTLS_SSL__ECP_RESTARTABLE)
|
||||
if( ssl->handshake->ecrs_enabled )
|
||||
rs_ctx = &ssl->handshake->ecrs_ctx;
|
||||
rs_ctx = &ssl->handshake->ecrs_ctx.ecdsa;
|
||||
#endif
|
||||
|
||||
if( ( ret = mbedtls_pk_sign_restartable( mbedtls_ssl_own_key( ssl ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue