Merge pull request #9830 from gilles-peskine-arm/9798-backport-3.6

Backport 3.6: Added debug print in tls13 ssl_tls13_write_key_share_ext
This commit is contained in:
Janos Follath 2025-01-07 16:17:27 +00:00 committed by GitHub
commit 8e8dabde3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -319,6 +319,7 @@ static int ssl_tls13_write_key_share_ext(mbedtls_ssl_context *ssl,
ssl, group_id, p, end, &key_exchange_len); ssl, group_id, p, end, &key_exchange_len);
p += key_exchange_len; p += key_exchange_len;
if (ret != 0) { if (ret != 0) {
MBEDTLS_SSL_DEBUG_MSG(1, ("client hello: failed generating xxdh key exchange"));
return ret; return ret;
} }