Fix SSL bug when create communication targets.

This commit is contained in:
Xie Han
2025-04-14 14:27:00 +08:00
parent d055848353
commit 93d6e0a2cf

View File

@@ -440,7 +440,7 @@ static uint64_t __generate_key(enum TransportType type,
buf.append((const char *)params, sizeof params);
if (type == TT_TCP_SSL || type == TT_SCTP_SSL)
{
buf.append((const char *)&ssl_ctx, sizeof (void *));
buf.append((const char *)ssl_ctx, sizeof (void *));
buf.append((const char *)&ep_params->ssl_connect_timeout, sizeof (int));
if (ep_params->use_tls_sni)
{