mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-01 20:44:20 +01:00
Fix for unused variable warning
This commit is contained in:
parent
f5ba04541e
commit
c97b697939
@ -7097,6 +7097,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,
|
||||||
@ -7111,6 +7112,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 New Issue
Block a user