mirror of https://github.com/openssl/openssl.git
				
				
				
			Do no try to pretend we're at the end of anything unless we're at the end
of a 4-character block.
This commit is contained in:
		
							parent
							
								
									7a5ad5d5a1
								
							
						
					
					
						commit
						0fc6b2c9e2
					
				|  | @ -313,7 +313,7 @@ int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, | ||||||
| 			/* There will never be more than two '=' */ | 			/* There will never be more than two '=' */ | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 		if ((v == B64_EOF) || (n >= 64)) | 		if ((v == B64_EOF && (n&3) == 0) || (n >= 64)) | ||||||
| 			{ | 			{ | ||||||
| 			/* This is needed to work correctly on 64 byte input
 | 			/* This is needed to work correctly on 64 byte input
 | ||||||
| 			 * lines.  We process the line and then need to | 			 * lines.  We process the line and then need to | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue