ima-evm-utils: Remove ERR_load_crypto_strings from read_priv_pkey
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.
Signed-off-by Vitaly Chikunov <[email protected]>
--- src/libimaevm.c | 1 - 1 file changed, 1 deletion(-)
src/libimaevm.c +0 -1
@@ -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