mirror of
				https://git.code.sf.net/p/linux-ima/ima-evm-utils
				synced 2025-10-31 05:00:41 +01:00 
			
		
		
		
	ima-evm-utils: Remove ERR_load_crypto_strings from read_priv_pkey
ERR_load_crypto_strings() is already called in other place. Signed-off-by: Vitaly Chikunov <vt@altlinux.org> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
		 Vitaly Chikunov
					Vitaly Chikunov
				
			
				
					committed by
					
						 Mimi Zohar
						Mimi Zohar
					
				
			
			
				
	
			
			
			 Mimi Zohar
						Mimi Zohar
					
				
			
						parent
						
							3eac3710a9
						
					
				
				
					commit
					340f7eb7dd
				
			| @@ -752,7 +752,6 @@ static EVP_PKEY *read_priv_pkey(const char *keyfile, const char *keypass) | |||||||
| 		log_err("Failed to open keyfile: %s\n", keyfile); | 		log_err("Failed to open keyfile: %s\n", keyfile); | ||||||
| 		return NULL; | 		return NULL; | ||||||
| 	} | 	} | ||||||
| 	ERR_load_crypto_strings(); |  | ||||||
| 	pkey = PEM_read_PrivateKey(fp, NULL, NULL, (void *)keypass); | 	pkey = PEM_read_PrivateKey(fp, NULL, NULL, (void *)keypass); | ||||||
| 	if (!pkey) { | 	if (!pkey) { | ||||||
| 		log_err("Failed to PEM_read_PrivateKey key file: %s\n", | 		log_err("Failed to PEM_read_PrivateKey key file: %s\n", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user