mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Improve debugging output
This commit is contained in:
		
							parent
							
								
									81e96dd54a
								
							
						
					
					
						commit
						184f675256
					
				@ -1270,7 +1270,8 @@ static int ssl_encrypt_buf( mbedtls_ssl_context *ssl )
 | 
			
		||||
 | 
			
		||||
    if( ssl->out_msglen > MBEDTLS_SSL_MAX_CONTENT_LEN )
 | 
			
		||||
    {
 | 
			
		||||
        MBEDTLS_SSL_DEBUG_MSG( 1, ( "Record content too large, maximum %d",
 | 
			
		||||
        MBEDTLS_SSL_DEBUG_MSG( 1, ( "Record content %u too large, maximum %d",
 | 
			
		||||
                                    (unsigned) ssl->out_msglen,
 | 
			
		||||
                                    MBEDTLS_SSL_MAX_CONTENT_LEN ) );
 | 
			
		||||
        return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA );
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user