aboutsummaryrefslogtreecommitdiff
path: root/secure/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2018-09-13 23:14:57 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2018-09-13 23:14:57 +0000
commit54967a4e950cb7b16a26428f9e3872aa8fe83d16 (patch)
tree8ebcd0ceb80e3719deabb8cbd455ab2685cf0c96 /secure/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
parent9b21da0ecb8941dc7c6bd721ccfe05cecd7d6432 (diff)
downloadsrc-54967a4e950cb7b16a26428f9e3872aa8fe83d16.tar.gz
src-54967a4e950cb7b16a26428f9e3872aa8fe83d16.zip
Regen manual pages.
Note the manual pages are not automatically generated for now.
Notes
Notes: svn path=/projects/openssl111/; revision=338671
Diffstat (limited to 'secure/lib/libcrypto/man/OpenSSL_add_all_algorithms.3')
-rw-r--r--secure/lib/libcrypto/man/OpenSSL_add_all_algorithms.358
1 files changed, 28 insertions, 30 deletions
diff --git a/secure/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 b/secure/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
index 2f64f902138a..0f25b2c3aa2c 100644
--- a/secure/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
+++ b/secure/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
@@ -128,25 +128,30 @@
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
-.IX Title "OpenSSL_add_all_algorithms 3"
-.TH OpenSSL_add_all_algorithms 3 "2018-08-14" "1.0.2p" "OpenSSL"
+.IX Title "OPENSSL_ADD_ALL_ALGORITHMS 3"
+.TH OPENSSL_ADD_ALL_ALGORITHMS 3 "2018-09-11" "1.1.1" "OpenSSL"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
-OpenSSL_add_all_algorithms, OpenSSL_add_all_ciphers, OpenSSL_add_all_digests, EVP_cleanup \-
-add algorithms to internal table
+OpenSSL_add_all_algorithms, OpenSSL_add_all_ciphers, OpenSSL_add_all_digests, EVP_cleanup \- add algorithms to internal table
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.Vb 1
\& #include <openssl/evp.h>
-\&
+.Ve
+.PP
+Deprecated:
+.PP
+.Vb 4
+\& # if OPENSSL_API_COMPAT < 0x10100000L
\& void OpenSSL_add_all_algorithms(void);
\& void OpenSSL_add_all_ciphers(void);
\& void OpenSSL_add_all_digests(void);
\&
-\& void EVP_cleanup(void);
+\& void EVP_cleanup(void)
+\&# endif
.Ve
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
@@ -161,33 +166,26 @@ ciphers).
\&\fIOpenSSL_add_all_ciphers()\fR adds all encryption algorithms to the table including
password based encryption algorithms.
.PP
-\&\fIEVP_cleanup()\fR removes all ciphers and digests from the table.
+In versions prior to 1.1.0 \fIEVP_cleanup()\fR removed all ciphers and digests from
+the table. It no longer has any effect in OpenSSL 1.1.0.
.SH "RETURN VALUES"
.IX Header "RETURN VALUES"
None of the functions return a value.
-.SH "NOTES"
-.IX Header "NOTES"
-A typical application will call \fIOpenSSL_add_all_algorithms()\fR initially and
-\&\fIEVP_cleanup()\fR before exiting.
-.PP
-An application does not need to add algorithms to use them explicitly, for example
-by \fIEVP_sha1()\fR. It just needs to add them if it (or any of the functions it calls)
-needs to lookup algorithms.
-.PP
-The cipher and digest lookup functions are used in many parts of the library. If
-the table is not initialized several functions will misbehave and complain they
-cannot find algorithms. This includes the \s-1PEM,\s0 PKCS#12, \s-1SSL\s0 and S/MIME libraries.
-This is a common query in the OpenSSL mailing lists.
-.PP
-Calling \fIOpenSSL_add_all_algorithms()\fR links in all algorithms: as a result a
-statically linked executable can be quite large. If this is important it is possible
-to just add the required ciphers and digests.
-.SH "BUGS"
-.IX Header "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.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
-\&\fIevp\fR\|(3), \fIEVP_DigestInit\fR\|(3),
+\&\fIevp\fR\|(7), \fIEVP_DigestInit\fR\|(3),
\&\fIEVP_EncryptInit\fR\|(3)
+.SH "HISTORY"
+.IX Header "HISTORY"
+The \fIOpenSSL_add_all_algorithms()\fR, \fIOpenSSL_add_all_ciphers()\fR,
+\&\fIOpenSSL_add_all_digests()\fR, and \fIEVP_cleanup()\fR, functions
+were deprecated in OpenSSL 1.1.0 by \fIOPENSSL_init_crypto()\fR and should
+not be used.
+.SH "COPYRIGHT"
+.IX Header "COPYRIGHT"
+Copyright 2000\-2017 The OpenSSL Project Authors. All Rights Reserved.
+.PP
+Licensed under the OpenSSL license (the \*(L"License\*(R"). You may not use
+this file except in compliance with the License. You can obtain a copy
+in the file \s-1LICENSE\s0 in the source distribution or at
+<https://www.openssl.org/source/license.html>.