aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/uefisign/uefisign.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/uefisign/uefisign.c b/usr.sbin/uefisign/uefisign.c
index ce73d44fe528..f9fca8776dc2 100644
--- a/usr.sbin/uefisign/uefisign.c
+++ b/usr.sbin/uefisign/uefisign.c
@@ -390,9 +390,9 @@ main(int argc, char **argv)
inpath = argv[0];
- OPENSSL_config(NULL);
- ERR_load_crypto_strings();
- OpenSSL_add_all_algorithms();
+ OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG |
+ OPENSSL_INIT_LOAD_CRYPTO_STRINGS |
+ OPENSSL_INIT_ADD_ALL_CIPHERS | OPENSSL_INIT_ADD_ALL_DIGESTS, NULL);
error = pipe(pipefds);
if (error != 0)