diff options
author | tb <> | 2023-11-19 10:34:26 +0000 |
---|---|---|
committer | tb <> | 2023-11-19 10:34:26 +0000 |
commit | 804762513590f41c1b78252a3d44d2c96c3d6139 (patch) | |
tree | 7a34bef980cdb1f9a5e800f701b9b97f4f898d1b /src/lib/libcrypto/man/DSA_set_method.3 | |
parent | 2aba2de85ea3ecc7ae8e26b3e1358efdae4d9935 (diff) | |
download | openbsd-804762513590f41c1b78252a3d44d2c96c3d6139.tar.gz openbsd-804762513590f41c1b78252a3d44d2c96c3d6139.tar.bz2 openbsd-804762513590f41c1b78252a3d44d2c96c3d6139.zip |
Strip mention of ENGINE out of *_set_method.3
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/man/DSA_set_method.3 | 40 |
1 files changed, 9 insertions, 31 deletions
diff --git a/src/lib/libcrypto/man/DSA_set_method.3 b/src/lib/libcrypto/man/DSA_set_method.3 index 31ded16d8c..ec6d2b4cd9 100644 --- a/src/lib/libcrypto/man/DSA_set_method.3 +++ b/src/lib/libcrypto/man/DSA_set_method.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: DSA_set_method.3,v 1.10 2022/01/15 23:38:50 jsg Exp $ | 1 | .\" $OpenBSD: DSA_set_method.3,v 1.11 2023/11/19 10:34:26 tb Exp $ |
2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | 2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 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>. |
@@ -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: January 15 2022 $ | 51 | .Dd $Mdocdate: November 19 2023 $ |
52 | .Dt DSA_SET_METHOD 3 | 52 | .Dt DSA_SET_METHOD 3 |
53 | .Os | 53 | .Os |
54 | .Sh NAME | 54 | .Sh NAME |
@@ -93,16 +93,9 @@ selects | |||
93 | as the default method for all | 93 | as the default method for all |
94 | .Vt DSA | 94 | .Vt DSA |
95 | structures created later. | 95 | structures created later. |
96 | If any | ||
97 | .Vt ENGINE | ||
98 | was registered with | ||
99 | .Xr ENGINE_register_DSA 3 | ||
100 | that can be successfully initialized, it overrides the default. | ||
101 | .Pp | 96 | .Pp |
102 | .Fn DSA_get_default_method | 97 | .Fn DSA_get_default_method |
103 | returns a pointer to the current default method, | 98 | returns a pointer to the current default method. |
104 | even if it is actually overridden by an | ||
105 | .Vt ENGINE . | ||
106 | .Pp | 99 | .Pp |
107 | .Fn DSA_set_method | 100 | .Fn DSA_set_method |
108 | selects | 101 | selects |
@@ -111,15 +104,10 @@ to perform all operations using the key | |||
111 | .Fa dsa . | 104 | .Fa dsa . |
112 | This replaces the | 105 | This replaces the |
113 | .Vt DSA_METHOD | 106 | .Vt DSA_METHOD |
114 | used by the DSA key and if the previous method was supplied by an | 107 | used by the DSA key. |
115 | .Vt ENGINE , | ||
116 | .Xr ENGINE_finish 3 | ||
117 | is called on it. | ||
118 | It is possible to have DSA keys that only work with certain | 108 | It is possible to have DSA keys that only work with certain |
119 | .Vt DSA_METHOD | 109 | .Vt DSA_METHOD |
120 | implementations (e.g. from an | 110 | implementations, |
121 | .Vt ENGINE | ||
122 | module that supports embedded hardware-protected keys), | ||
123 | and in such cases attempting to change the | 111 | and in such cases attempting to change the |
124 | .Vt DSA_METHOD | 112 | .Vt DSA_METHOD |
125 | for the key can have unexpected results. | 113 | for the key can have unexpected results. |
@@ -127,17 +115,10 @@ for the key can have unexpected results. | |||
127 | .Fn DSA_new_method | 115 | .Fn DSA_new_method |
128 | allocates and initializes a | 116 | allocates and initializes a |
129 | .Vt DSA | 117 | .Vt DSA |
130 | structure so that | 118 | structure. |
131 | .Fa engine | 119 | The |
132 | is used for the DSA operations. | ||
133 | If | ||
134 | .Fa engine | 120 | .Fa engine |
135 | is | 121 | argument is ignored and |
136 | .Dv NULL , | ||
137 | .Xr ENGINE_get_default_DSA 3 | ||
138 | is used. | ||
139 | If that returns | ||
140 | .Dv NULL , | ||
141 | the default method controlled by | 122 | the default method controlled by |
142 | .Fn DSA_set_default_method | 123 | .Fn DSA_set_default_method |
143 | is used. | 124 | is used. |
@@ -206,10 +187,7 @@ if the allocation fails. | |||
206 | Otherwise it returns a pointer to the newly allocated structure. | 187 | Otherwise it returns a pointer to the newly allocated structure. |
207 | .Sh SEE ALSO | 188 | .Sh SEE ALSO |
208 | .Xr DSA_meth_new 3 , | 189 | .Xr DSA_meth_new 3 , |
209 | .Xr DSA_new 3 , | 190 | .Xr DSA_new 3 |
210 | .Xr ENGINE_get_default_DSA 3 , | ||
211 | .Xr ENGINE_register_DSA 3 , | ||
212 | .Xr ENGINE_set_default_DSA 3 | ||
213 | .Sh HISTORY | 191 | .Sh HISTORY |
214 | .Fn DSA_set_default_method , | 192 | .Fn DSA_set_default_method , |
215 | .Fn DSA_get_default_method , | 193 | .Fn DSA_get_default_method , |