mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	fix various issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
		
							parent
							
								
									e1b1e2de65
								
							
						
					
					
						commit
						cfe64f0b24
					
				@ -1109,11 +1109,10 @@ void mbedtls_ssl_tls13_handshake_wrapup( mbedtls_ssl_context *ssl )
 | 
			
		||||
    MBEDTLS_SSL_DEBUG_MSG( 3, ( "=> handshake wrapup" ) );
 | 
			
		||||
 | 
			
		||||
    /*
 | 
			
		||||
     * Free the previous session and switch in the current one
 | 
			
		||||
     * Free the previous session and switch to the current one.
 | 
			
		||||
     */
 | 
			
		||||
    if( ssl->session )
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
        mbedtls_ssl_session_free( ssl->session );
 | 
			
		||||
        mbedtls_free( ssl->session );
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user