Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 354f535

Browse files
committed
Trivial code formatting fix
1 parent d7ea0ea commit 354f535

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/AsyncTCP_TLS_Context.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ int AsyncTCP_TLS_Context::startSSLClient(int sck, const char * host_or_ip, const
162162
log_v("Setting hostname for TLS session...");
163163

164164
// Hostname set here should match CN in server certificate
165-
if((ret = mbedtls_ssl_set_hostname(&ssl_ctx, host_or_ip)) != 0){
165+
if ((ret = mbedtls_ssl_set_hostname(&ssl_ctx, host_or_ip)) != 0){
166166
_deleteHandshakeCerts();
167167
return handle_error(ret);
168-
}
168+
}
169169

170170
mbedtls_ssl_conf_rng(&ssl_conf, mbedtls_ctr_drbg_random, &drbg_ctx);
171171

0 commit comments

Comments
 (0)