Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: psa_tls: Fix resource leak error
In case psa_tls_send_buffer fails break ended the while loop without closing the socket, which is a potential resource leak and causes a coverity warning. Also this way didn't allow any reconnect try, therefore changed the code to not stoop the processing loop and just make the logging output conditional Signed-off-by: Markus Swarowsky <[email protected]>
- Loading branch information