Prevent warning for possibly uninitialized variable in ssl_server2

This commit is contained in:
Paul Bakker 2014-06-12 23:01:43 +02:00
parent 14877e6250
commit 9b7fb6f68e

View File

@ -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";