mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Remove MBEDTLS_SSL_DEFAULT_TICKET_LIFETIME
This config option has been unused for >5 years and so should be removed. Signed-off-by: Chris Jones <christopher.jones@arm.com>
This commit is contained in:
		
							parent
							
								
									e991aa48c5
								
							
						
					
					
						commit
						9c6356881f
					
				@ -3225,7 +3225,6 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
//#define MBEDTLS_SSL_DTLS_MAX_BUFFERING             32768
 | 
					//#define MBEDTLS_SSL_DTLS_MAX_BUFFERING             32768
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//#define MBEDTLS_SSL_DEFAULT_TICKET_LIFETIME     86400 /**< Lifetime of session tickets (if enabled) */
 | 
					 | 
				
			||||||
//#define MBEDTLS_PSK_MAX_LEN               32 /**< Max size of TLS pre-shared keys, in bytes (default 256 bits) */
 | 
					//#define MBEDTLS_PSK_MAX_LEN               32 /**< Max size of TLS pre-shared keys, in bytes (default 256 bits) */
 | 
				
			||||||
//#define MBEDTLS_SSL_COOKIE_TIMEOUT        60 /**< Default expiration delay of DTLS cookies, in seconds if HAVE_TIME, or in number of cookies issued */
 | 
					//#define MBEDTLS_SSL_COOKIE_TIMEOUT        60 /**< Default expiration delay of DTLS cookies, in seconds if HAVE_TIME, or in number of cookies issued */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -3806,7 +3806,6 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
//#define MBEDTLS_SSL_DTLS_MAX_BUFFERING             32768
 | 
					//#define MBEDTLS_SSL_DTLS_MAX_BUFFERING             32768
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//#define MBEDTLS_SSL_DEFAULT_TICKET_LIFETIME     86400 /**< Lifetime of session tickets (if enabled) */
 | 
					 | 
				
			||||||
//#define MBEDTLS_PSK_MAX_LEN               32 /**< Max size of TLS pre-shared keys, in bytes (default 256 bits) */
 | 
					//#define MBEDTLS_PSK_MAX_LEN               32 /**< Max size of TLS pre-shared keys, in bytes (default 256 bits) */
 | 
				
			||||||
//#define MBEDTLS_SSL_COOKIE_TIMEOUT        60 /**< Default expiration delay of DTLS cookies, in seconds if HAVE_TIME, or in number of cookies issued */
 | 
					//#define MBEDTLS_SSL_COOKIE_TIMEOUT        60 /**< Default expiration delay of DTLS cookies, in seconds if HAVE_TIME, or in number of cookies issued */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -237,10 +237,6 @@
 | 
				
			|||||||
 * \{
 | 
					 * \{
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if !defined(MBEDTLS_SSL_DEFAULT_TICKET_LIFETIME)
 | 
					 | 
				
			||||||
#define MBEDTLS_SSL_DEFAULT_TICKET_LIFETIME     86400 /**< Lifetime of session tickets (if enabled) */
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * Maximum fragment length in bytes,
 | 
					 * Maximum fragment length in bytes,
 | 
				
			||||||
 * determines the size of each of the two internal I/O buffers.
 | 
					 * determines the size of each of the two internal I/O buffers.
 | 
				
			||||||
 | 
				
			|||||||
@ -2708,14 +2708,6 @@ int query_config( const char *config )
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
#endif /* MBEDTLS_SSL_DTLS_MAX_BUFFERING */
 | 
					#endif /* MBEDTLS_SSL_DTLS_MAX_BUFFERING */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_SSL_DEFAULT_TICKET_LIFETIME)
 | 
					 | 
				
			||||||
    if( strcmp( "MBEDTLS_SSL_DEFAULT_TICKET_LIFETIME", config ) == 0 )
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_DEFAULT_TICKET_LIFETIME );
 | 
					 | 
				
			||||||
        return( 0 );
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
#endif /* MBEDTLS_SSL_DEFAULT_TICKET_LIFETIME */
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#if defined(MBEDTLS_PSK_MAX_LEN)
 | 
					#if defined(MBEDTLS_PSK_MAX_LEN)
 | 
				
			||||||
    if( strcmp( "MBEDTLS_PSK_MAX_LEN", config ) == 0 )
 | 
					    if( strcmp( "MBEDTLS_PSK_MAX_LEN", config ) == 0 )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user