mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Merge branch 'development' into development-restricted
* development: Updated ChangeLog with credit Fix a fairly common typo in comments Make config check include for configs examples more consistent
This commit is contained in:
		
						commit
						ef388f168d
					
				@ -9,6 +9,8 @@ Security
 | 
			
		||||
Changes
 | 
			
		||||
   * Added checking of hostname length in mbedtls_ssl_set_hostname() to ensure
 | 
			
		||||
     domain names are compliant with RFC 1035.
 | 
			
		||||
   * Fixed paths for check_config.h in example config files. (Found by bachp)
 | 
			
		||||
     (#291)
 | 
			
		||||
 | 
			
		||||
= mbed TLS 2.1.1 released 2015-09-17
 | 
			
		||||
 | 
			
		||||
@ -123,7 +125,7 @@ API Changes
 | 
			
		||||
     mbedtls_gcm_init() -> mbedtls_gcm_setkey()
 | 
			
		||||
     mbedtls_hmac_drbg_init() -> mbedtls_hmac_drbg_seed(_buf)()
 | 
			
		||||
     mbedtls_ctr_drbg_init()  -> mbedtls_ctr_drbg_seed()
 | 
			
		||||
     Note that for mbetls_ssl_setup(), you need to be done setting up the
 | 
			
		||||
     Note that for mbedtls_ssl_setup(), you need to be done setting up the
 | 
			
		||||
     ssl_config structure before calling it.
 | 
			
		||||
   * Most ssl_set_xxx() functions (all except ssl_set_bio(), ssl_set_hostname(),
 | 
			
		||||
     ssl_set_session() and ssl_set_client_transport_id(), plus
 | 
			
		||||
 | 
			
		||||
@ -80,6 +80,6 @@
 | 
			
		||||
 */
 | 
			
		||||
#define MBEDTLS_SSL_MAX_CONTENT_LEN             512
 | 
			
		||||
 | 
			
		||||
#include "check_config.h"
 | 
			
		||||
#include "mbedtls/check_config.h"
 | 
			
		||||
 | 
			
		||||
#endif /* MBEDTLS_CONFIG_H */
 | 
			
		||||
 | 
			
		||||
@ -66,6 +66,6 @@
 | 
			
		||||
#define MBEDTLS_SHA1_C
 | 
			
		||||
#define MBEDTLS_SHA256_C
 | 
			
		||||
 | 
			
		||||
#include "check_config.h"
 | 
			
		||||
#include "mbedtls/check_config.h"
 | 
			
		||||
 | 
			
		||||
#endif /* MBEDTLS_CONFIG_H */
 | 
			
		||||
 | 
			
		||||
@ -111,7 +111,7 @@ mbedtls_ctr_drbg_context;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \brief               CTR_DRBG context initialization
 | 
			
		||||
 *                      Makes the context ready for mbetls_ctr_drbg_seed() or
 | 
			
		||||
 *                      Makes the context ready for mbedtls_ctr_drbg_seed() or
 | 
			
		||||
 *                      mbedtls_ctr_drbg_free().
 | 
			
		||||
 *
 | 
			
		||||
 * \param ctx           CTR_DRBG context to be initialized
 | 
			
		||||
 | 
			
		||||
@ -98,7 +98,7 @@ typedef struct
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \brief               HMAC_DRBG context initialization
 | 
			
		||||
 *                      Makes the context ready for mbetls_hmac_drbg_seed(),
 | 
			
		||||
 *                      Makes the context ready for mbedtls_hmac_drbg_seed(),
 | 
			
		||||
 *                      mbedtls_hmac_drbg_seed_buf() or
 | 
			
		||||
 *                      mbedtls_hmac_drbg_free().
 | 
			
		||||
 *
 | 
			
		||||
 | 
			
		||||
@ -54,7 +54,7 @@ typedef struct {
 | 
			
		||||
} mbedtls_pkcs11_context;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Initialize a mbetls_pkcs11_context.
 | 
			
		||||
 * Initialize a mbedtls_pkcs11_context.
 | 
			
		||||
 * (Just making memory references valid.)
 | 
			
		||||
 */
 | 
			
		||||
void mbedtls_pkcs11_init( mbedtls_pkcs11_context *ctx );
 | 
			
		||||
 | 
			
		||||
@ -842,7 +842,7 @@ int mbedtls_ssl_get_ciphersuite_id( const char *ciphersuite_name );
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \brief          Initialize an SSL context
 | 
			
		||||
 *                 Just makes the context ready for mbetls_ssl_setup() or
 | 
			
		||||
 *                 Just makes the context ready for mbedtls_ssl_setup() or
 | 
			
		||||
 *                 mbedtls_ssl_free()
 | 
			
		||||
 *
 | 
			
		||||
 * \param ssl      SSL context
 | 
			
		||||
 | 
			
		||||
@ -92,7 +92,7 @@ void mbedtls_set_alarm( int seconds );
 | 
			
		||||
 *                 (See \c mbedtls_timing_get_delay().)
 | 
			
		||||
 *
 | 
			
		||||
 * \param data     Pointer to timing data
 | 
			
		||||
 *                 Must point to a valid \c mbetls_timing_delay_context struct.
 | 
			
		||||
 *                 Must point to a valid \c mbedtls_timing_delay_context struct.
 | 
			
		||||
 * \param int_ms   First (intermediate) delay in milliseconds.
 | 
			
		||||
 * \param fin_ms   Second (final) delay in milliseconds.
 | 
			
		||||
 *                 Pass 0 to cancel the current delay.
 | 
			
		||||
@ -104,7 +104,7 @@ void mbedtls_timing_set_delay( void *data, uint32_t int_ms, uint32_t fin_ms );
 | 
			
		||||
 *                 (Memory helper: number of delays passed.)
 | 
			
		||||
 *
 | 
			
		||||
 * \param data     Pointer to timing data
 | 
			
		||||
 *                 Must point to a valid \c mbetls_timing_delay_context struct.
 | 
			
		||||
 *                 Must point to a valid \c mbedtls_timing_delay_context struct.
 | 
			
		||||
 *
 | 
			
		||||
 * \return         -1 if cancelled (fin_ms = 0)
 | 
			
		||||
 *                  0 if none of the delays are passed,
 | 
			
		||||
 | 
			
		||||
@ -6996,7 +6996,7 @@ static mbedtls_ecp_group_id ssl_preset_suiteb_curves[] = {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Load default in mbetls_ssl_config
 | 
			
		||||
 * Load default in mbedtls_ssl_config
 | 
			
		||||
 */
 | 
			
		||||
int mbedtls_ssl_config_defaults( mbedtls_ssl_config *conf,
 | 
			
		||||
                                 int endpoint, int transport, int preset )
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user