mirror of
https://github.com/cuberite/polarssl.git
synced 2025-08-19 10:36:23 -04: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