mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-15 10:08:30 -04:00
Merge pull request #8218 from paul-elliott-arm/remove_unused_values_programs_2_28
Backport 2.28: Remove unneeded setting of ret from ssl programs
This commit is contained in:
commit
433aa1cc5c
@ -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:
|
||||
|
@ -331,7 +331,6 @@ reset:
|
||||
|
||||
case MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY:
|
||||
printf(" connection was closed gracefully\n");
|
||||
ret = 0;
|
||||
goto close_notify;
|
||||
|
||||
default:
|
||||
|
@ -3437,7 +3437,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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user