mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-26 03:57:26 +00:00
Make client_random and server_random const in mbedtls_ssl_export_keys_ext_t, so that the key exporter is discouraged from modifying the client/server hello. Update examples and tests use const for hello.random as well, to ensure that the export callbacks are of the proper type. Fixes #2759