mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 17:28:08 +00:00
Fix typos in mini_client.c
This commit is contained in:
parent
0af00e865b
commit
fd862b14c5
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ enum exit_codes
|
|||
{
|
||||
exit_ok = 0,
|
||||
ctr_drbg_seed_failed,
|
||||
ssl_config_default_failed,
|
||||
ssl_config_defaults_failed,
|
||||
ssl_setup_failed,
|
||||
hostname_failed,
|
||||
socket_failed,
|
||||
|
@ -200,7 +200,7 @@ int main( void )
|
|||
mbedtls_ssl_conf_rng( &conf, mbedtls_ctr_drbg_random, &ctr_drbg );
|
||||
|
||||
#if defined(MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED)
|
||||
mbedtls_ssl_conf_psk( &ssl, psk, sizeof( psk ),
|
||||
mbedtls_ssl_conf_psk( &conf, psk, sizeof( psk ),
|
||||
(const unsigned char *) psk_id, sizeof( psk_id ) - 1 );
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue