Remove unnecessary duble conversion
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
86acf05b1e
commit
0a4298bbe9
1 changed files with 2 additions and 3 deletions
|
@ -1811,9 +1811,8 @@ have_ciphersuite:
|
||||||
{
|
{
|
||||||
unsigned int sig_hash = mbedtls_ssl_tls12_get_preferred_hash_for_sig_alg(
|
unsigned int sig_hash = mbedtls_ssl_tls12_get_preferred_hash_for_sig_alg(
|
||||||
ssl, mbedtls_ssl_sig_from_pk_alg( sig_alg ) );
|
ssl, mbedtls_ssl_sig_from_pk_alg( sig_alg ) );
|
||||||
mbedtls_md_type_t md_alg = mbedtls_ssl_md_alg_from_hash( sig_hash );
|
MBEDTLS_SSL_DEBUG_MSG( 3, ( "client hello v3, signature_algorithm ext: %u",
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 3, ( "client hello v3, signature_algorithm ext: %d",
|
sig_hash ) );
|
||||||
mbedtls_ssl_hash_from_md_alg( md_alg ) ) );
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue