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

Remove unneeded setting of ret from ssl programs

Remove a coverity warning on unused values.

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott
2023-09-15 17:39:08 +01:00
parent 51616459fa
commit 2391649e7e
3 changed files with 0 additions and 3 deletions

View File

@ -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: