mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-09 08:31:33 +08:00
tidy up syntax
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
parent
1cd1e01897
commit
1f091466c1
@ -4464,11 +4464,9 @@ 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 (ssl->conf->f_async_cancel != NULL && handshake->async_in_progress != 0) {
|
||||
ssl->conf->f_async_cancel(ssl);
|
||||
handshake->async_in_progress = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user