mirror of
https://github.com/cuberite/polarssl.git
synced 2025-08-20 19:16:32 -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