summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/DSA_set_method.3
diff options
context:
space:
mode:
authortb <>2023-11-19 10:34:26 +0000
committertb <>2023-11-19 10:34:26 +0000
commit804762513590f41c1b78252a3d44d2c96c3d6139 (patch)
tree7a34bef980cdb1f9a5e800f701b9b97f4f898d1b /src/lib/libcrypto/man/DSA_set_method.3
parent2aba2de85ea3ecc7ae8e26b3e1358efdae4d9935 (diff)
downloadopenbsd-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.340
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
93as the default method for all 93as the default method for all
94.Vt DSA 94.Vt DSA
95structures created later. 95structures created later.
96If any
97.Vt ENGINE
98was registered with
99.Xr ENGINE_register_DSA 3
100that can be successfully initialized, it overrides the default.
101.Pp 96.Pp
102.Fn DSA_get_default_method 97.Fn DSA_get_default_method
103returns a pointer to the current default method, 98returns a pointer to the current default method.
104even if it is actually overridden by an
105.Vt ENGINE .
106.Pp 99.Pp
107.Fn DSA_set_method 100.Fn DSA_set_method
108selects 101selects
@@ -111,15 +104,10 @@ to perform all operations using the key
111.Fa dsa . 104.Fa dsa .
112This replaces the 105This replaces the
113.Vt DSA_METHOD 106.Vt DSA_METHOD
114used by the DSA key and if the previous method was supplied by an 107used by the DSA key.
115.Vt ENGINE ,
116.Xr ENGINE_finish 3
117is called on it.
118It is possible to have DSA keys that only work with certain 108It is possible to have DSA keys that only work with certain
119.Vt DSA_METHOD 109.Vt DSA_METHOD
120implementations (e.g. from an 110implementations,
121.Vt ENGINE
122module that supports embedded hardware-protected keys),
123and in such cases attempting to change the 111and in such cases attempting to change the
124.Vt DSA_METHOD 112.Vt DSA_METHOD
125for the key can have unexpected results. 113for 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
128allocates and initializes a 116allocates and initializes a
129.Vt DSA 117.Vt DSA
130structure so that 118structure.
131.Fa engine 119The
132is used for the DSA operations.
133If
134.Fa engine 120.Fa engine
135is 121argument is ignored and
136.Dv NULL ,
137.Xr ENGINE_get_default_DSA 3
138is used.
139If that returns
140.Dv NULL ,
141the default method controlled by 122the default method controlled by
142.Fn DSA_set_default_method 123.Fn DSA_set_default_method
143is used. 124is used.
@@ -206,10 +187,7 @@ if the allocation fails.
206Otherwise it returns a pointer to the newly allocated structure. 187Otherwise 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 ,