Rename a few incidental references to PolarSSL
diff --git a/README.rst b/README.rst
index 66e823a..3ef1b0b 100644
--- a/README.rst
+++ b/README.rst
@@ -93,7 +93,7 @@
The build files for Microsoft Visual Studio are generated for Visual Studio 6.0 and Visual Studio 2010.
-The workspace 'polarssl.dsw' contains all the basic projects needed to build the library and all the programs. The files in tests are not generated and compiled, as these need a perl environment as well.
+The workspace 'mbedtls.dsw' contains all the basic projects needed to build the library and all the programs. The files in tests are not generated and compiled, as these need a perl environment as well.
Example programs
================
diff --git a/include/mbedtls/x509.h b/include/mbedtls/x509.h
index 268121d..ffbf976 100644
--- a/include/mbedtls/x509.h
+++ b/include/mbedtls/x509.h
@@ -179,7 +179,7 @@
/**
* Container for ASN1 named information objects.
- * It allows for Relative Distinguished Names (e.g. cn=polarssl,ou=code,etc.).
+ * It allows for Relative Distinguished Names (e.g. cn=localhost,ou=code,etc.).
*/
typedef asn1_named_data x509_name;
diff --git a/programs/ssl/ssl_client1.c b/programs/ssl/ssl_client1.c
index dfd5067..838321a 100644
--- a/programs/ssl/ssl_client1.c
+++ b/programs/ssl/ssl_client1.c
@@ -169,7 +169,7 @@
/* OPTIONAL is not optimal for security,
* but makes interop easier in this simplified example */
ssl_set_authmode( &ssl, SSL_VERIFY_OPTIONAL );
- ssl_set_ca_chain( &ssl, &cacert, NULL, "PolarSSL Server 1" );
+ ssl_set_ca_chain( &ssl, &cacert, NULL, "mbed TLS Server 1" );
/* SSLv3 is deprecated, set minimum to TLS 1.0 */
ssl_set_min_version( &ssl, SSL_MAJOR_VERSION_3, SSL_MINOR_VERSION_1 );