mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-09 14:01:18 +03:00
This extension is quite costly to generate, and we don't want to re-do it again when the server performs a DTLS HelloVerify. So, cache the result the first time and re-use if/when we build a new ClientHello. Note: re-send due to timeouts are different, as the whole message is cached already, so they don't need any special support.