Message ID | 20190718213752.11194-1-vt@altlinux.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ima-evm-utils: Remove ERR_load_crypto_strings from read_priv_pkey | expand |
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",
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(-)