mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 11:58:15 +00:00
Rename a few incidental references to PolarSSL
This commit is contained in:
parent
7f8099773e
commit
83b04de09b
3 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@ Microsoft Visual Studio
|
||||||
|
|
||||||
The build files for Microsoft Visual Studio are generated for Visual Studio 6.0 and Visual Studio 2010.
|
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
|
Example programs
|
||||||
================
|
================
|
||||||
|
|
|
@ -179,7 +179,7 @@ typedef asn1_bitstring x509_bitstring;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Container for ASN1 named information objects.
|
* 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;
|
typedef asn1_named_data x509_name;
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,7 @@ int main( void )
|
||||||
/* OPTIONAL is not optimal for security,
|
/* OPTIONAL is not optimal for security,
|
||||||
* but makes interop easier in this simplified example */
|
* but makes interop easier in this simplified example */
|
||||||
ssl_set_authmode( &ssl, SSL_VERIFY_OPTIONAL );
|
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 */
|
/* SSLv3 is deprecated, set minimum to TLS 1.0 */
|
||||||
ssl_set_min_version( &ssl, SSL_MAJOR_VERSION_3, SSL_MINOR_VERSION_1 );
|
ssl_set_min_version( &ssl, SSL_MAJOR_VERSION_3, SSL_MINOR_VERSION_1 );
|
||||||
|
|
Loading…
Reference in a new issue