mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-09 23:05:27 +00:00
Fix for unused variable warning
This commit is contained in:
parent
7ebe2781fe
commit
c941b6cb31
|
@ -7032,6 +7032,7 @@ void mbedtls_ssl_config_init( mbedtls_ssl_config *conf )
|
||||||
memset( conf, 0, sizeof( mbedtls_ssl_config ) );
|
memset( conf, 0, sizeof( mbedtls_ssl_config ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE__WITH_CERT__ENABLED)
|
||||||
static int ssl_preset_default_hashes[] = {
|
static int ssl_preset_default_hashes[] = {
|
||||||
#if defined(MBEDTLS_SHA512_C)
|
#if defined(MBEDTLS_SHA512_C)
|
||||||
MBEDTLS_MD_SHA512,
|
MBEDTLS_MD_SHA512,
|
||||||
|
@ -7046,6 +7047,7 @@ static int ssl_preset_default_hashes[] = {
|
||||||
#endif
|
#endif
|
||||||
MBEDTLS_MD_NONE
|
MBEDTLS_MD_NONE
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static int ssl_preset_suiteb_ciphersuites[] = {
|
static int ssl_preset_suiteb_ciphersuites[] = {
|
||||||
MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
|
MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
|
||||||
|
|
Loading…
Reference in a new issue