From 4bea6ff056c1f836655c6ef3ec916e743ec34876 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Fri, 7 Jun 2019 19:28:52 +0000 Subject: remove cross-references to the obsolete function OpenSSL_add_all_algorithms(3) --- src/lib/libcrypto/man/PKCS7_decrypt.3 | 8 ++------ src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 | 10 ++-------- src/lib/libcrypto/man/evp.3 | 10 +++------- 3 files changed, 7 insertions(+), 21 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/man/PKCS7_decrypt.3 b/src/lib/libcrypto/man/PKCS7_decrypt.3 index b92e9f3af6..d86b6e4125 100644 --- a/src/lib/libcrypto/man/PKCS7_decrypt.3 +++ b/src/lib/libcrypto/man/PKCS7_decrypt.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: PKCS7_decrypt.3,v 1.8 2019/06/06 01:06:58 schwarze Exp $ +.\" $OpenBSD: PKCS7_decrypt.3,v 1.9 2019/06/07 19:28:52 schwarze Exp $ .\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -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 6 2019 $ +.Dd $Mdocdate: June 7 2019 $ .Dt PKCS7_DECRYPT 3 .Os .Sh NAME @@ -78,10 +78,6 @@ to write the content to and .Fa flags is an optional set of flags. .Pp -.Xr OpenSSL_add_all_algorithms 3 -(or equivalent) should be called before using this function or errors -about unknown algorithms will occur. -.Pp Although the recipient's certificate is not needed to decrypt the data, it is needed to locate the appropriate recipients in the PKCS#7 structure. diff --git a/src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 b/src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 index 9ac275e2a6..58dd989fae 100644 --- a/src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 +++ b/src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: d2i_PKCS8PrivateKey_bio.3,v 1.10 2018/03/22 16:06:33 schwarze Exp $ +.\" $OpenBSD: d2i_PKCS8PrivateKey_bio.3,v 1.11 2019/06/07 19:28:52 schwarze Exp $ .\" full merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 .\" .\" 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: March 22 2018 $ +.Dd $Mdocdate: June 7 2019 $ .Dt D2I_PKCS8PRIVATEKEY_BIO 3 .Os .Sh NAME @@ -124,12 +124,6 @@ Other than the use of DER as opposed to PEM these functions are identical to the corresponding functions described in .Xr PEM_read_PrivateKey 3 . .Pp -Before using these functions, -.Xr OpenSSL_add_all_algorithms 3 -should be called to initialize the internal algorithm lookup tables. -Otherwise errors about unknown algorithms will occur if an attempt is -made to decrypt a private key. -.Pp These functions are currently the only way to store encrypted private keys using DER format. .Pp diff --git a/src/lib/libcrypto/man/evp.3 b/src/lib/libcrypto/man/evp.3 index 8ea9c78de0..e18c26ea7c 100644 --- a/src/lib/libcrypto/man/evp.3 +++ b/src/lib/libcrypto/man/evp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: evp.3,v 1.10 2019/03/21 14:15:13 schwarze Exp $ +.\" $OpenBSD: evp.3,v 1.11 2019/06/07 19:28:52 schwarze Exp $ .\" OpenSSL a9c85cea Nov 11 09:33:55 2016 +0100 .\" .\" This file was written by Ulf Moeller , @@ -51,7 +51,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 21 2019 $ +.Dd $Mdocdate: June 7 2019 $ .Dt EVP 3 .Os .Sh NAME @@ -153,9 +153,6 @@ compatible implementation. However, new applications should typically not use this (preferring, for example, PBKDF2 from PCKS#5). .Pp -Algorithms are loaded with -.Xr OpenSSL_add_all_algorithms 3 . -.Pp All the symmetric algorithms (ciphers), digests and asymmetric algorithms (public key algorithms) can be replaced by .Vt ENGINE @@ -204,5 +201,4 @@ operations are more efficient using the high level interfaces. .Xr EVP_SealInit 3 , .Xr EVP_SignInit 3 , .Xr EVP_sm4_cbc 3 , -.Xr EVP_VerifyInit 3 , -.Xr OpenSSL_add_all_algorithms 3 +.Xr EVP_VerifyInit 3 -- cgit v1.2.3-55-g6feb