mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 03:00:21 -04:00 
			
		
		
		
	- Fixed too restrictive test
This commit is contained in:
		
							parent
							
								
									96d42da8fe
								
							
						
					
					
						commit
						f34cf85534
					
				| @ -880,7 +880,7 @@ static int ssl_decrypt_buf( ssl_context *ssl ) | |||||||
|     /*
 |     /*
 | ||||||
|      * Always compute the MAC (RFC4346, CBCTIME). |      * Always compute the MAC (RFC4346, CBCTIME). | ||||||
|      */ |      */ | ||||||
|     if( ssl->in_msglen <= ssl->maclen + padlen ) |     if( ssl->in_msglen < ssl->maclen + padlen ) | ||||||
|     { |     { | ||||||
|         SSL_DEBUG_MSG( 1, ( "msglen (%d) < maclen (%d) + padlen (%d)", |         SSL_DEBUG_MSG( 1, ( "msglen (%d) < maclen (%d) + padlen (%d)", | ||||||
|                     ssl->in_msglen, ssl->maclen, padlen ) ); |                     ssl->in_msglen, ssl->maclen, padlen ) ); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Paul Bakker
						Paul Bakker