Commit 719aa8bb authored by Paul Bakker's avatar Paul Bakker Committed by Simon Butcher

Fix default hostname for verification used in ssl_client1

parent 71e9d58d
......@@ -180,7 +180,7 @@ int main( void )
goto exit;
}
if( ( ret = mbedtls_ssl_set_hostname( &ssl, "mbed TLS Server 1" ) ) != 0 )
if( ( ret = mbedtls_ssl_set_hostname( &ssl, SERVER_NAME ) ) != 0 )
{
mbedtls_printf( " failed\n ! mbedtls_ssl_set_hostname returned %d\n\n", ret );
goto exit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment