mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 10:35:35 +00:00
Merge branch 'development' into development-restricted
* development: (30 commits) update README file (#1144) Fix typo in asn1.h Improve leap year test names in x509parse.data Correctly handle leap year in x509_date_is_valid() Renegotiation: Add tests for SigAlg ext parsing Parse Signature Algorithm ext when renegotiating Minor style fix config.pl get: be better behaved config.pl get: don't rewrite config.h; detect write errors Fixed "config.pl get" for options with no value Fix typo and bracketing in macro args Ensure failed test_suite output is sent to stdout Remove use of GNU sed features from ssl-opt.sh Fix typos in ssl-opt.sh comments Add ssl-opt.sh test to check gmt_unix_time is good Extend ssl-opt.h so that run_test takes function Always print gmt_unix_time in TLS client Restored note about using minimum functionality in makefiles Note in README that GNU make is required Fix changelog for ssl_server2.c usage fix ...
This commit is contained in:
commit
888fedea06
|
@ -16,7 +16,7 @@ There are currently four active build systems used within mbed TLS releases:
|
|||
- yotta
|
||||
- GNU Make
|
||||
- CMake
|
||||
- Microsoft Visual Studio (Visual Studio 6 and Visual Studio 2010)
|
||||
- Microsoft Visual Studio (Microsoft Visual Studio 2010 or later)
|
||||
|
||||
The main systems used for development are CMake and GNU Make. Those systems are always complete and up-to-date. The others should reflect all changes present in the CMake and Make build system, although features may not be ported there automatically.
|
||||
|
||||
|
|
|
@ -6187,7 +6187,6 @@ int mbedtls_ssl_set_hostname( mbedtls_ssl_context *ssl, const char *hostname )
|
|||
|
||||
/* Check if new hostname is valid before
|
||||
* making any change to current one */
|
||||
|
||||
if( hostname != NULL )
|
||||
{
|
||||
hostname_len = strlen( hostname );
|
||||
|
@ -6214,7 +6213,6 @@ int mbedtls_ssl_set_hostname( mbedtls_ssl_context *ssl, const char *hostname )
|
|||
else
|
||||
{
|
||||
ssl->hostname = mbedtls_calloc( 1, hostname_len + 1 );
|
||||
|
||||
if( ssl->hostname == NULL )
|
||||
return( MBEDTLS_ERR_SSL_ALLOC_FAILED );
|
||||
|
||||
|
|
Loading…
Reference in a new issue