RT3140: Possibly-unit variable in pem_lib.c
Can't really happen, but the flow of control isn't obvious.
Add an initializer.
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 0ff3687eab)
			
			
This commit is contained in:
		
				
					committed by
					
						
						Rich Salz
					
				
			
			
				
	
			
			
			
						parent
						
							27739e9265
						
					
				
				
					commit
					fa2ae04c40
				
			@@ -443,7 +443,7 @@ err:
 | 
			
		||||
int PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *plen,
 | 
			
		||||
	     pem_password_cb *callback,void *u)
 | 
			
		||||
	{
 | 
			
		||||
	int i,j,o,klen;
 | 
			
		||||
	int i=0,j,o,klen;
 | 
			
		||||
	long len;
 | 
			
		||||
	EVP_CIPHER_CTX ctx;
 | 
			
		||||
	unsigned char key[EVP_MAX_KEY_LENGTH];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user