mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-25 15:53:47 +08: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