diff --git a/library/ssl_tls13_client.c b/library/ssl_tls13_client.c index 53c519c4bb47..919db7d465e0 100644 --- a/library/ssl_tls13_client.c +++ b/library/ssl_tls13_client.c @@ -318,6 +318,7 @@ static int ssl_tls13_write_key_share_ext(mbedtls_ssl_context *ssl, ssl, group_id, p, end, &key_exchange_len); p += key_exchange_len; if (ret != 0) { + MBEDTLS_SSL_DEBUG_MSG(1, ("client hello: failed generating xxdh key exchange")); return ret; }