Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[secure-transport] set app keys on config before SSL context setup (o…
…penthread#11044) This commit updates `Setup()`, which initializes and sets up `mbedtls_ssl_config` and `mbedtls_ssl_context`. The call `mExtension->SetApplicationSecureKeys()` (which updates the `mbedtls_ssl_config`) is now called before `mbedtls_ssl_setup()` associates the config with the `mbedtls_ssl_context`. This follows the recommendation that the config structure is not modified after `ssl_setup()` and while a session is active.
- Loading branch information