mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	cli/srv ex: Add dbg msg if record checking gives inconsistent result
This commit is contained in:
		
							parent
							
								
									b7d1dffcc9
								
							
						
					
					
						commit
						91f8327e40
					
				@ -681,8 +681,8 @@ static int ssl_check_record( mbedtls_ssl_context const *ssl,
 | 
				
			|||||||
        ret_repeated = mbedtls_ssl_check_record( ssl, tmp_buf, len );
 | 
					        ret_repeated = mbedtls_ssl_check_record( ssl, tmp_buf, len );
 | 
				
			||||||
        if( ret != ret_repeated )
 | 
					        if( ret != ret_repeated )
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            ret = -1;
 | 
					            mbedtls_printf( "mbedtls_ssl_check_record() returned inconsistent results.\n" );
 | 
				
			||||||
            goto exit;
 | 
					            return( -1 );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        switch( ret )
 | 
					        switch( ret )
 | 
				
			||||||
 | 
				
			|||||||
@ -793,8 +793,8 @@ static int ssl_check_record( mbedtls_ssl_context const *ssl,
 | 
				
			|||||||
        ret_repeated = mbedtls_ssl_check_record( ssl, tmp_buf, len );
 | 
					        ret_repeated = mbedtls_ssl_check_record( ssl, tmp_buf, len );
 | 
				
			||||||
        if( ret != ret_repeated )
 | 
					        if( ret != ret_repeated )
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            ret = -1;
 | 
					            mbedtls_printf( "mbedtls_ssl_check_record() returned inconsistent results.\n" );
 | 
				
			||||||
            goto exit;
 | 
					            return( -1 );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        switch( ret )
 | 
					        switch( ret )
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user