1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

resolved ci failures

Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
Ben Taylor
2025-03-10 08:27:42 +00:00
parent 602b2968ca
commit fd52984896
2 changed files with 1 additions and 4 deletions

View File

@ -2133,7 +2133,7 @@ static int ssl_write_server_hello(mbedtls_ssl_context *ssl)
MBEDTLS_SSL_DEBUG_MSG(3, ("server hello, current time: %" MBEDTLS_PRINTF_LONGLONG,
(long long) t));
#else
if ((ret = psa_generate_random(ssl->conf->p_rng, p, 4)) != 0) {
if ((ret = psa_generate_random(p, 4)) != 0) {
return ret;
}
@ -2166,7 +2166,6 @@ static int ssl_write_server_hello(mbedtls_ssl_context *ssl)
} else
#endif
{
if ((ret = psa_generate_random(p, 8)) != 0) {
return ret;
}