mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-09 03:39:56 +00:00
remove RNG parameters from SSL API's
Signed-off-by: Ben Taylor <[email protected]>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user