From c49e39f41c7ce0ba4c49648ff129c8aef2650e00 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 13 Jan 2024 11:18:52 +0000 Subject: Stub out {OpenSSL,OPENSSL}_add* These serve no purpose anymore (and really haven't for many years) but will have to be kept since there's a number of software that still uses them because many years ago they had to. Relocate the stubs to crypto_init.c since library initialization's what they were there for. ok jsing --- src/lib/libcrypto/crypto_init.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/crypto_init.c') diff --git a/src/lib/libcrypto/crypto_init.c b/src/lib/libcrypto/crypto_init.c index 440128fe4c..d598318503 100644 --- a/src/lib/libcrypto/crypto_init.c +++ b/src/lib/libcrypto/crypto_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto_init.c,v 1.15 2024/01/07 19:59:32 tb Exp $ */ +/* $OpenBSD: crypto_init.c,v 1.16 2024/01/13 11:18:52 tb Exp $ */ /* * Copyright (c) 2018 Bob Beck * @@ -91,3 +91,24 @@ OPENSSL_cleanup(void) crypto_init_cleaned_up = 1; } LCRYPTO_ALIAS(OPENSSL_cleanup); + +void +OpenSSL_add_all_ciphers(void) +{ +} + +void +OpenSSL_add_all_digests(void) +{ +} + +void +OPENSSL_add_all_algorithms_noconf(void) +{ +} + +void +OPENSSL_add_all_algorithms_conf(void) +{ + OPENSSL_config(NULL); +} -- cgit v1.2.3-55-g6feb