From 340f7eb7ddd425df92775fb73e9e0980b0e2712d Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Fri, 19 Jul 2019 00:37:52 +0300 Subject: [PATCH] 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 Signed-off-by: Mimi Zohar --- src/libimaevm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libimaevm.c b/src/libimaevm.c index c45eb2b..2d99570 100644 --- a/src/libimaevm.c +++ b/src/libimaevm.c @@ -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); 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",