From fd862b14c504fbb59c5692b043d9bf33ff51a9d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 11 May 2015 12:40:45 +0200 Subject: [PATCH] Fix typos in mini_client.c --- programs/ssl/mini_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/ssl/mini_client.c b/programs/ssl/mini_client.c index 1bb71a2f0..20ce2b7fe 100644 --- a/programs/ssl/mini_client.c +++ b/programs/ssl/mini_client.c @@ -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