1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Correct code style

Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
Ben Taylor
2025-03-18 11:50:39 +00:00
parent 0deda0e34c
commit 1cd1e01897
4 changed files with 12 additions and 10 deletions

View File

@ -4465,10 +4465,12 @@ void mbedtls_ssl_handshake_free(mbedtls_ssl_context *ssl)
#if defined(MBEDTLS_SSL_ASYNC_PRIVATE)
if (ssl->conf != NULL) {
if (ssl->conf->f_async_cancel != NULL) {
if(handshake->async_in_progress != 0) {
if (handshake->async_in_progress != 0) {
ssl->conf->f_async_cancel(ssl);
handshake->async_in_progress = 0;
}}}
}
}
}
#endif /* MBEDTLS_SSL_ASYNC_PRIVATE */