Skip to content

Commit 5f4cbcd

Browse files
committed
ssl_tls12: change log level for ECDH computation
Signed-off-by: Juha-Pekka <[email protected]>
1 parent 666fa2d commit 5f4cbcd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

library/ssl_tls12_client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2304,7 +2304,7 @@ static int ssl_write_client_key_exchange(mbedtls_ssl_context *ssl)
23042304

23052305
header_len = 4;
23062306

2307-
MBEDTLS_SSL_DEBUG_MSG(1, ("Perform PSA-based ECDH computation."));
2307+
MBEDTLS_SSL_DEBUG_MSG(3, ("Perform PSA-based ECDH computation."));
23082308

23092309
/*
23102310
* Generate EC private key for ECDHE exchange.
@@ -2412,7 +2412,7 @@ static int ssl_write_client_key_exchange(mbedtls_ssl_context *ssl)
24122412

24132413
header_len += ssl->conf->psk_identity_len;
24142414

2415-
MBEDTLS_SSL_DEBUG_MSG(1, ("Perform PSA-based ECDH computation."));
2415+
MBEDTLS_SSL_DEBUG_MSG(3, ("Perform PSA-based ECDH computation."));
24162416

24172417
/*
24182418
* Generate EC private key for ECDHE exchange.

library/ssl_tls12_server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2683,7 +2683,7 @@ static int ssl_prepare_server_key_exchange(mbedtls_ssl_context *ssl,
26832683
psa_key_type_t key_type = PSA_KEY_TYPE_NONE;
26842684
size_t ec_bits = 0;
26852685

2686-
MBEDTLS_SSL_DEBUG_MSG(1, ("Perform PSA-based ECDH computation."));
2686+
MBEDTLS_SSL_DEBUG_MSG(3, ("Perform PSA-based ECDH computation."));
26872687

26882688
/* Convert EC's TLS ID to PSA key type. */
26892689
if (mbedtls_ssl_get_psa_curve_info_from_tls_id(*curr_tls_id,

0 commit comments

Comments
 (0)