commit | 55fab2de5d1c0d25eaa19380951c83d32aa3e1a7 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Mon May 11 16:15:19 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Mon May 11 17:54:38 2015 +0200 |
tree | b4c06e2186d53caf68f321d53266e7bf7d7e31c8 | |
parent | d8d0d72dde64ead601a45dd45cbef436124fb62a [diff] [blame] |
Fix a few more #ifdef's
diff --git a/programs/ssl/mini_client.c b/programs/ssl/mini_client.c index 20ce2b7..090e018 100644 --- a/programs/ssl/mini_client.c +++ b/programs/ssl/mini_client.c
@@ -221,11 +221,13 @@ goto exit; } +#if defined(MBEDTLS_X509_CRT_PARSE_C) if( mbedtls_ssl_set_hostname( &ssl, HOSTNAME ) != 0 ) { ret = hostname_failed; goto exit; } +#endif /* * 1. Start the connection