* [PATCH] ima-evm-utils: Remove ERR_load_crypto_strings from read_priv_pkey
@ 2019-07-18 21:37 Vitaly Chikunov
0 siblings, 0 replies; only message in thread
From: Vitaly Chikunov @ 2019-07-18 21:37 UTC (permalink / raw)
To: Mimi Zohar, Dmitry Kasatkin, linux-integrity
ERR_load_crypto_strings() is already called in other place.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
---
src/libimaevm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/libimaevm.c b/src/libimaevm.c
index 2a0486f..6f7a704 100644
--- a/src/libimaevm.c
+++ b/src/libimaevm.c
@@ -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",
--
2.11.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-18 21:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-18 21:37 [PATCH] ima-evm-utils: Remove ERR_load_crypto_strings from read_priv_pkey Vitaly Chikunov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).