mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Don't renew ticket when the current one is OK
This commit is contained in:
		
							parent
							
								
									c086cce3d3
								
							
						
					
					
						commit
						593058e35e
					
				@ -462,6 +462,11 @@ static int ssl_parse_session_ticket_ext( ssl_context *ssl,
 | 
			
		||||
 | 
			
		||||
    SSL_DEBUG_MSG( 3, ( "session successfully restored from ticket" ) );
 | 
			
		||||
 | 
			
		||||
    /*
 | 
			
		||||
     * Don't send a new ticket after all, this one is OK
 | 
			
		||||
     */
 | 
			
		||||
    ssl->handshake->new_session_ticket = 0;
 | 
			
		||||
 | 
			
		||||
    /*
 | 
			
		||||
     * Keep the session ID sent by the client, since we MUST send it back to
 | 
			
		||||
     * inform him we're accepting the ticket  (RFC 5077 section 3.4)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user