mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-08 07:41:17 +08: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.