From 32b60effa89c7fa97c04b7e9e8e6b1304d3a4ad3 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Mon, 9 Jun 2025 12:43:53 +0000 Subject: Retire the manual pages OPENSSL_load_builtin_modules(3) and OBJ_NAME_add(3) because these functions no longer exist. OK tb@ --- src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 | 34 +++++++++------------- 1 file changed, 13 insertions(+), 21 deletions(-) (limited to 'src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3') diff --git a/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 b/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 index ff1c3df6d9..64f71590fe 100644 --- a/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 +++ b/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: OpenSSL_add_all_algorithms.3,v 1.17 2025/06/08 22:40:30 schwarze Exp $ +.\" $OpenBSD: OpenSSL_add_all_algorithms.3,v 1.18 2025/06/09 12:43:53 schwarze Exp $ .\" full merge up to: OpenSSL b3696a55 Sep 2 09:35:50 2017 -0400 .\" .\" This file was written by Dr. Stephen Henson . @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 8 2025 $ +.Dd $Mdocdate: June 9 2025 $ .Dt OPENSSL_ADD_ALL_ALGORITHMS 3 .Os .Sh NAME @@ -80,17 +80,21 @@ These functions are deprecated. It is never useful for any application program to call any of them explicitly. -The library automatically calls them internally whenever needed. .Pp -OpenSSL keeps an internal table of digest algorithms and ciphers. -It uses this table to look up ciphers via functions such as -.Xr EVP_get_cipherbyname 3 . +The library contains internal tables of digest algorithms and ciphers. +It uses these tables to look up digests and ciphers via +.Xr EVP_get_digestbyname 3 +and +.Xr EVP_get_cipherbyname 3 , +respectively. +In LibreSSL, these tables are static constants and do not require +initialization. .Pp .Fn OpenSSL_add_all_algorithms adds all algorithms to the table (digests and ciphers). If an application is compiled with the preprocessor symbol .Dv OPENSSL_LOAD_CONF -#define'd, it also calls +defined, it also calls .Xr OPENSSL_config 3 with a .Dv NULL @@ -103,17 +107,9 @@ adds all digest algorithms to the table. adds all encryption algorithms to the table including password based encryption algorithms. .Pp -If any of the above functions is called more than once, -only the first call has an effect. -.Pp .Fn EVP_cleanup -removes all ciphers and digests from the table and also calls -.Xr OBJ_NAME_cleanup 3 -with an argument of \-1 , -thus resetting the global associative array of names -and all signature algorithm definitions to their default states, -removing all application-defined types, key-value pairs, and aliases, -including any that are unrelated to the EVP library. +has no effect; it used to remove various kinds of application-supplied +data that is no longer supported in the first place. .Pp .Fn SSLeay_add_all_algorithms is a deprecated alias for @@ -127,8 +123,6 @@ are implemented as macros. .Xr evp 3 , .Xr EVP_DigestInit 3 , .Xr EVP_EncryptInit 3 , -.Xr OBJ_cleanup 3 , -.Xr OBJ_NAME_add 3 , .Xr OPENSSL_config 3 .Sh HISTORY .Fn EVP_cleanup , @@ -149,5 +143,3 @@ first appeared in OpenSSL 0.9.5 and have been available since .Sh BUGS Although the functions do not return error codes, it is possible for them to fail. -This will only happen as a result of a memory allocation failure so this -is not too much of a problem in practice. -- cgit v1.2.3-55-g6feb