diff options
author | schwarze <> | 2019-06-07 19:28:52 +0000 |
---|---|---|
committer | schwarze <> | 2019-06-07 19:28:52 +0000 |
commit | 4bea6ff056c1f836655c6ef3ec916e743ec34876 (patch) | |
tree | 93c68086454fe70402541a07ebf88a302540a80f /src | |
parent | 0c1ea0d871737686bb9682ac9fece73b74f94b12 (diff) | |
download | openbsd-4bea6ff056c1f836655c6ef3ec916e743ec34876.tar.gz openbsd-4bea6ff056c1f836655c6ef3ec916e743ec34876.tar.bz2 openbsd-4bea6ff056c1f836655c6ef3ec916e743ec34876.zip |
remove cross-references to the obsolete function OpenSSL_add_all_algorithms(3)
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/man/PKCS7_decrypt.3 | 8 | ||||
-rw-r--r-- | src/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 | 10 | ||||
-rw-r--r-- | src/lib/libcrypto/man/evp.3 | 10 |
3 files changed, 7 insertions, 21 deletions
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 @@ | |||
1 | .\" $OpenBSD: PKCS7_decrypt.3,v 1.8 2019/06/06 01:06:58 schwarze Exp $ | 1 | .\" $OpenBSD: PKCS7_decrypt.3,v 1.9 2019/06/07 19:28:52 schwarze Exp $ |
2 | .\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 | 2 | .\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. |
@@ -48,7 +48,7 @@ | |||
48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
50 | .\" | 50 | .\" |
51 | .Dd $Mdocdate: June 6 2019 $ | 51 | .Dd $Mdocdate: June 7 2019 $ |
52 | .Dt PKCS7_DECRYPT 3 | 52 | .Dt PKCS7_DECRYPT 3 |
53 | .Os | 53 | .Os |
54 | .Sh NAME | 54 | .Sh NAME |
@@ -78,10 +78,6 @@ to write the content to and | |||
78 | .Fa flags | 78 | .Fa flags |
79 | is an optional set of flags. | 79 | is an optional set of flags. |
80 | .Pp | 80 | .Pp |
81 | .Xr OpenSSL_add_all_algorithms 3 | ||
82 | (or equivalent) should be called before using this function or errors | ||
83 | about unknown algorithms will occur. | ||
84 | .Pp | ||
85 | Although the recipient's certificate is not needed to decrypt the data, | 81 | Although the recipient's certificate is not needed to decrypt the data, |
86 | it is needed to locate the appropriate recipients | 82 | it is needed to locate the appropriate recipients |
87 | in the PKCS#7 structure. | 83 | 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 @@ | |||
1 | .\" $OpenBSD: d2i_PKCS8PrivateKey_bio.3,v 1.10 2018/03/22 16:06:33 schwarze Exp $ | 1 | .\" $OpenBSD: d2i_PKCS8PrivateKey_bio.3,v 1.11 2019/06/07 19:28:52 schwarze Exp $ |
2 | .\" full merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 | 2 | .\" full merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. |
@@ -48,7 +48,7 @@ | |||
48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
50 | .\" | 50 | .\" |
51 | .Dd $Mdocdate: March 22 2018 $ | 51 | .Dd $Mdocdate: June 7 2019 $ |
52 | .Dt D2I_PKCS8PRIVATEKEY_BIO 3 | 52 | .Dt D2I_PKCS8PRIVATEKEY_BIO 3 |
53 | .Os | 53 | .Os |
54 | .Sh NAME | 54 | .Sh NAME |
@@ -124,12 +124,6 @@ Other than the use of DER as opposed to PEM these functions are | |||
124 | identical to the corresponding functions described in | 124 | identical to the corresponding functions described in |
125 | .Xr PEM_read_PrivateKey 3 . | 125 | .Xr PEM_read_PrivateKey 3 . |
126 | .Pp | 126 | .Pp |
127 | Before using these functions, | ||
128 | .Xr OpenSSL_add_all_algorithms 3 | ||
129 | should be called to initialize the internal algorithm lookup tables. | ||
130 | Otherwise errors about unknown algorithms will occur if an attempt is | ||
131 | made to decrypt a private key. | ||
132 | .Pp | ||
133 | These functions are currently the only way to store encrypted private | 127 | These functions are currently the only way to store encrypted private |
134 | keys using DER format. | 128 | keys using DER format. |
135 | .Pp | 129 | .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 @@ | |||
1 | .\" $OpenBSD: evp.3,v 1.10 2019/03/21 14:15:13 schwarze Exp $ | 1 | .\" $OpenBSD: evp.3,v 1.11 2019/06/07 19:28:52 schwarze Exp $ |
2 | .\" OpenSSL a9c85cea Nov 11 09:33:55 2016 +0100 | 2 | .\" OpenSSL a9c85cea Nov 11 09:33:55 2016 +0100 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Ulf Moeller <ulf@openssl.org>, | 4 | .\" This file was written by Ulf Moeller <ulf@openssl.org>, |
@@ -51,7 +51,7 @@ | |||
51 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 51 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
52 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 52 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
53 | .\" | 53 | .\" |
54 | .Dd $Mdocdate: March 21 2019 $ | 54 | .Dd $Mdocdate: June 7 2019 $ |
55 | .Dt EVP 3 | 55 | .Dt EVP 3 |
56 | .Os | 56 | .Os |
57 | .Sh NAME | 57 | .Sh NAME |
@@ -153,9 +153,6 @@ compatible implementation. | |||
153 | However, new applications should typically not use this (preferring, for | 153 | However, new applications should typically not use this (preferring, for |
154 | example, PBKDF2 from PCKS#5). | 154 | example, PBKDF2 from PCKS#5). |
155 | .Pp | 155 | .Pp |
156 | Algorithms are loaded with | ||
157 | .Xr OpenSSL_add_all_algorithms 3 . | ||
158 | .Pp | ||
159 | All the symmetric algorithms (ciphers), digests and asymmetric | 156 | All the symmetric algorithms (ciphers), digests and asymmetric |
160 | algorithms (public key algorithms) can be replaced by | 157 | algorithms (public key algorithms) can be replaced by |
161 | .Vt ENGINE | 158 | .Vt ENGINE |
@@ -204,5 +201,4 @@ operations are more efficient using the high level interfaces. | |||
204 | .Xr EVP_SealInit 3 , | 201 | .Xr EVP_SealInit 3 , |
205 | .Xr EVP_SignInit 3 , | 202 | .Xr EVP_SignInit 3 , |
206 | .Xr EVP_sm4_cbc 3 , | 203 | .Xr EVP_sm4_cbc 3 , |
207 | .Xr EVP_VerifyInit 3 , | 204 | .Xr EVP_VerifyInit 3 |
208 | .Xr OpenSSL_add_all_algorithms 3 | ||