mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 01:35:46 +00:00
2fc84cebf6
Previously, ssl_ecrs_ske_start_processing was used to indicate that the ServerKeyExchange has been fetched from the record layer, but that parsing its ECDHE parameter component has been preempted by the restartable ECP feature. On re-entry of ssl_parse_server_key_exchange() in this state, the code would directly jump into the parsing routine. However, the only non-reentrant code that's jumped over this way is the record fetching routine mbedtls_ssl_parse_record(), which is now made re-entrant by setting `ssl->keep_current_message = 1` in case of pre-emption due to restartable ECC. The ssl_ecrs_ske_start_processing state is therefore redundant and can be removed, which is what this commit does. |
||
---|---|---|
.. | ||
mbedtls | ||
tinycrypt | ||
.gitignore | ||
CMakeLists.txt |