remove RNG parameters from SSL API's

Signed-off-by: Ben Taylor <[email protected]>
This commit is contained in:
Ben Taylor
2025-03-10 13:24:31 +00:00
parent 2d1f26037f
commit 0cfe54e4e0
8 changed files with 18 additions and 31 deletions
+1 -2
View File
@@ -216,8 +216,7 @@ int main(void)
goto exit;
}
if ((ret = mbedtls_ssl_cookie_setup(&cookie_ctx,
mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) {
if ((ret = mbedtls_ssl_cookie_setup(&cookie_ctx)) != 0) {
printf(" failed\n ! mbedtls_ssl_cookie_setup returned %d\n\n", ret);
goto exit;
}