Skip to contentSkip to conversation

ima-evm-utils: Remove ERR_load_crypto_strings from read_priv_pkey

PATCH New Vitaly Chikunov 1 participant 1 message Jul 18, 2019 Keys-trusted

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ima-evm-utils: Remove ERR_load_crypto_strings from read_priv_pkey

ERR_load_crypto_strings() is already called in other place.

---
 src/libimaevm.c | 1 -
 1 file changed, 1 deletion(-)
src/libimaevm.c +0 -1
index 2a0486f..6f7a704 100644
@@ -736,7 +736,6 @@ static EVP_PKEY *read_priv_pkey(const char *keyfile, const char *keypass)
 		log_err("Failed to open keyfile: %s\n", keyfile);
 		return NULL;
 	}
-	ERR_load_crypto_strings();
 	pkey = PEM_read_PrivateKey(fp, NULL, NULL, (void *)keypass);
 	if (!pkey) {
 		log_err("Failed to PEM_read_PrivateKey key file: %s\n",
Signature · 1 line
2.11.0