1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-13 19:21:32 +03:00

Merge pull request #8217 from paul-elliott-arm/remove_unused_values_programs

Remove unneeded setting of ret from ssl programs
This commit is contained in:
Gilles Peskine
2023-09-18 08:13:00 +00:00
committed by GitHub
3 changed files with 0 additions and 3 deletions

View File

@ -294,7 +294,6 @@ send_request:
case MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY:
mbedtls_printf(" connection was closed gracefully\n");
ret = 0;
goto close_notify;
default:

View File

@ -331,7 +331,6 @@ reset:
case MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY:
printf(" connection was closed gracefully\n");
ret = 0;
goto close_notify;
default:

View File

@ -3781,7 +3781,6 @@ data_exchange:
switch (ret) {
case MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY:
mbedtls_printf(" connection was closed gracefully\n");
ret = 0;
goto close_notify;
default: