Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions library/ssl_msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ int mbedtls_ssl_check_record(mbedtls_ssl_context const *ssl,
size_t buflen)
{
int ret = 0;
MBEDTLS_SSL_DEBUG_MSG(1, ("=> mbedtls_ssl_check_record"));
MBEDTLS_SSL_DEBUG_MSG(3, ("=> mbedtls_ssl_check_record"));
MBEDTLS_SSL_DEBUG_BUF(3, "record buffer", buf, buflen);

/* We don't support record checking in TLS because
Expand Down Expand Up @@ -363,7 +363,7 @@ int mbedtls_ssl_check_record(mbedtls_ssl_context const *ssl,
ret = MBEDTLS_ERR_SSL_UNEXPECTED_RECORD;
}

MBEDTLS_SSL_DEBUG_MSG(1, ("<= mbedtls_ssl_check_record"));
MBEDTLS_SSL_DEBUG_MSG(3, ("<= mbedtls_ssl_check_record"));
return ret;
}

Expand Down
4 changes: 2 additions & 2 deletions library/ssl_tls12_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2764,7 +2764,7 @@ static int ssl_write_client_key_exchange(mbedtls_ssl_context *ssl)

header_len = 4;

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

/*
* Generate EC private key for ECDHE exchange.
Expand Down Expand Up @@ -2936,7 +2936,7 @@ static int ssl_write_client_key_exchange(mbedtls_ssl_context *ssl)

header_len += ssl->conf->psk_identity_len;

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

/*
* Generate EC private key for ECDHE exchange.
Expand Down
2 changes: 1 addition & 1 deletion library/ssl_tls12_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -2982,7 +2982,7 @@ static int ssl_prepare_server_key_exchange(mbedtls_ssl_context *ssl,
psa_key_type_t key_type = PSA_KEY_TYPE_NONE;
size_t ec_bits = 0;

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

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