Commit Graph

1 Commits

Author SHA1 Message Date
Seo Suchan 9bdcaa86b2 curl: call mbedtls_ssl_setup() after RNG callback is set
Since mbedTLS v3.6.0, the RNG check added in ssl_conf_check() will fail if no RNG is provided when calling mbedtls_ssl_setup(). Therefore, mbedtls_ssl_conf_rng() needs to be called before the SSL context is passed to mbedtls_ssl_setup().

Signed-off-by: Seo Suchan <tjtncks@gmail.com>
2024-04-17 11:24:26 +09:00