[PATCH] mkfs.ubifs: remove OPENSSL_no_config()
bage at linutronix.de
bage at linutronix.de
Fri Jul 24 03:47:05 EDT 2020
From: Torben Hohn <torben.hohn at linutronix.de>
Especially for the pkcs11 engine, a configuration is required
because the provider has to be configured.
Its not clear why OPENSSL_no_config() is called.
Remove OPENSSL_no_config() and call OPENSSL_config(NULL)
instead.
Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
Signed-off-by: Bastian Germann <bage at linutronix.de>
---
ubifs-utils/mkfs.ubifs/sign.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ubifs-utils/mkfs.ubifs/sign.c b/ubifs-utils/mkfs.ubifs/sign.c
index b7ad7ef..7f284f8 100644
--- a/ubifs-utils/mkfs.ubifs/sign.c
+++ b/ubifs-utils/mkfs.ubifs/sign.c
@@ -388,7 +388,8 @@ int init_authentication(void)
if (!c->hash_algo_name)
return err_msg("Hash algorithm not given (--hash-algo)");
- OPENSSL_no_config();
+ OPENSSL_config(NULL);
+
OpenSSL_add_all_algorithms();
ERR_load_crypto_strings();
--
2.27.0
More information about the linux-mtd
mailing list