mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 00:15:40 +01:00
Prevent warning for possibly uninitialized variable in ssl_server2
This commit is contained in:
parent
14877e6250
commit
9b7fb6f68e
@ -574,7 +574,7 @@ int main( int argc, char *argv[] )
|
|||||||
#if defined(POLARSSL_KEY_EXCHANGE__SOME__PSK_ENABLED)
|
#if defined(POLARSSL_KEY_EXCHANGE__SOME__PSK_ENABLED)
|
||||||
unsigned char psk[MAX_PSK_LEN];
|
unsigned char psk[MAX_PSK_LEN];
|
||||||
size_t psk_len = 0;
|
size_t psk_len = 0;
|
||||||
psk_entry *psk_info;
|
psk_entry *psk_info = NULL;
|
||||||
#endif
|
#endif
|
||||||
const char *pers = "ssl_server2";
|
const char *pers = "ssl_server2";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user