mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-03 19:20:18 +00:00
fix coding style issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
941e07ff02
commit
971988528d
@ -1875,22 +1875,27 @@ static inline int mbedtls_ssl_sig_alg_is_supported(
|
|||||||
case MBEDTLS_SSL_HASH_MD5:
|
case MBEDTLS_SSL_HASH_MD5:
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_SHA1_C)
|
#if defined(MBEDTLS_SHA1_C)
|
||||||
case MBEDTLS_SSL_HASH_SHA1:
|
case MBEDTLS_SSL_HASH_SHA1:
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_SHA224_C)
|
#if defined(MBEDTLS_SHA224_C)
|
||||||
case MBEDTLS_SSL_HASH_SHA224:
|
case MBEDTLS_SSL_HASH_SHA224:
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_SHA256_C)
|
#if defined(MBEDTLS_SHA256_C)
|
||||||
case MBEDTLS_SSL_HASH_SHA256:
|
case MBEDTLS_SSL_HASH_SHA256:
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_SHA384_C)
|
#if defined(MBEDTLS_SHA384_C)
|
||||||
case MBEDTLS_SSL_HASH_SHA384:
|
case MBEDTLS_SSL_HASH_SHA384:
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_SHA512_C)
|
#if defined(MBEDTLS_SHA512_C)
|
||||||
case MBEDTLS_SSL_HASH_SHA512:
|
case MBEDTLS_SSL_HASH_SHA512:
|
||||||
break;
|
break;
|
||||||
|
@ -1811,7 +1811,8 @@ read_record_header:
|
|||||||
md_default = MBEDTLS_MD_SHA1;
|
md_default = MBEDTLS_MD_SHA1;
|
||||||
}
|
}
|
||||||
|
|
||||||
mbedtls_ssl_sig_hash_set_const_hash( &ssl->handshake->hash_algs, md_default );
|
mbedtls_ssl_sig_hash_set_const_hash( &ssl->handshake->hash_algs,
|
||||||
|
md_default );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* MBEDTLS_SSL_PROTO_TLS1_2 &&
|
#endif /* MBEDTLS_SSL_PROTO_TLS1_2 &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user