diff options
| author | tb <> | 2023-11-19 10:34:26 +0000 |
|---|---|---|
| committer | tb <> | 2023-11-19 10:34:26 +0000 |
| commit | c2e52907ca947af086e2bbd30acdb327209e898a (patch) | |
| tree | 7a34bef980cdb1f9a5e800f701b9b97f4f898d1b /src/lib/libcrypto/man/DH_set_method.3 | |
| parent | 66dd630b49c4fbeb53db3e475847c30fc8d6c814 (diff) | |
| download | openbsd-c2e52907ca947af086e2bbd30acdb327209e898a.tar.gz openbsd-c2e52907ca947af086e2bbd30acdb327209e898a.tar.bz2 openbsd-c2e52907ca947af086e2bbd30acdb327209e898a.zip | |
Strip mention of ENGINE out of *_set_method.3
Diffstat (limited to 'src/lib/libcrypto/man/DH_set_method.3')
| -rw-r--r-- | src/lib/libcrypto/man/DH_set_method.3 | 40 |
1 files changed, 9 insertions, 31 deletions
diff --git a/src/lib/libcrypto/man/DH_set_method.3 b/src/lib/libcrypto/man/DH_set_method.3 index e89fdc64a5..70cf367c9d 100644 --- a/src/lib/libcrypto/man/DH_set_method.3 +++ b/src/lib/libcrypto/man/DH_set_method.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: DH_set_method.3,v 1.8 2022/01/15 23:38:50 jsg Exp $ | 1 | .\" $OpenBSD: DH_set_method.3,v 1.9 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 DH_SET_METHOD 3 | 52 | .Dt DH_SET_METHOD 3 |
| 53 | .Os | 53 | .Os |
| 54 | .Sh NAME | 54 | .Sh NAME |
| @@ -98,16 +98,9 @@ selects | |||
| 98 | as the default method for all | 98 | as the default method for all |
| 99 | .Vt DH | 99 | .Vt DH |
| 100 | structures created later. | 100 | structures created later. |
| 101 | If any | ||
| 102 | .Vt ENGINE | ||
| 103 | was registered with | ||
| 104 | .Xr ENGINE_register_DH 3 | ||
| 105 | that can be successfully initialized, it overrides the default. | ||
| 106 | .Pp | 101 | .Pp |
| 107 | .Fn DH_get_default_method | 102 | .Fn DH_get_default_method |
| 108 | returns a pointer to the current default method, | 103 | returns a pointer to the current default method. |
| 109 | even if it is actually overridden by an | ||
| 110 | .Vt ENGINE . | ||
| 111 | .Pp | 104 | .Pp |
| 112 | .Fn DH_set_method | 105 | .Fn DH_set_method |
| 113 | selects | 106 | selects |
| @@ -118,17 +111,12 @@ This replaces the | |||
| 118 | .Vt DH_METHOD | 111 | .Vt DH_METHOD |
| 119 | used by the | 112 | used by the |
| 120 | .Fa dh | 113 | .Fa dh |
| 121 | key and if the previous method was supplied by an | 114 | key. |
| 122 | .Vt ENGINE , | ||
| 123 | .Xr ENGINE_finish 3 | ||
| 124 | is called on it. | ||
| 125 | It is possible to have | 115 | It is possible to have |
| 126 | .Vt DH | 116 | .Vt DH |
| 127 | keys that only work with certain | 117 | keys that only work with certain |
| 128 | .Vt DH_METHOD | 118 | .Vt DH_METHOD |
| 129 | implementations (e.g. from an | 119 | implementations, |
| 130 | .Vt ENGINE | ||
| 131 | module that supports embedded hardware-protected keys), | ||
| 132 | and in such cases attempting to change the | 120 | and in such cases attempting to change the |
| 133 | .Vt DH_METHOD | 121 | .Vt DH_METHOD |
| 134 | for the key can have unexpected results. | 122 | for the key can have unexpected results. |
| @@ -136,17 +124,10 @@ for the key can have unexpected results. | |||
| 136 | .Fn DH_new_method | 124 | .Fn DH_new_method |
| 137 | allocates and initializes a | 125 | allocates and initializes a |
| 138 | .Vt DH | 126 | .Vt DH |
| 139 | structure so that | 127 | structure. |
| 140 | .Fa engine | 128 | The |
| 141 | is used for the DH operations. | ||
| 142 | If | ||
| 143 | .Fa engine | 129 | .Fa engine |
| 144 | is | 130 | argument is ignored and |
| 145 | .Dv NULL , | ||
| 146 | .Xr ENGINE_get_default_DH 3 | ||
| 147 | is used. | ||
| 148 | If that returns | ||
| 149 | .Dv NULL , | ||
| 150 | the default method controlled by | 131 | the default method controlled by |
| 151 | .Fn DH_set_default_method | 132 | .Fn DH_set_default_method |
| 152 | is used. | 133 | is used. |
| @@ -202,10 +183,7 @@ and sets an error code that can be obtained by | |||
| 202 | if the allocation fails. | 183 | if the allocation fails. |
| 203 | Otherwise it returns a pointer to the newly allocated structure. | 184 | Otherwise it returns a pointer to the newly allocated structure. |
| 204 | .Sh SEE ALSO | 185 | .Sh SEE ALSO |
| 205 | .Xr DH_new 3 , | 186 | .Xr DH_new 3 |
| 206 | .Xr ENGINE_get_default_DH 3 , | ||
| 207 | .Xr ENGINE_register_DH 3 , | ||
| 208 | .Xr ENGINE_set_default_DH 3 | ||
| 209 | .Sh HISTORY | 187 | .Sh HISTORY |
| 210 | .Fn DH_set_default_method , | 188 | .Fn DH_set_default_method , |
| 211 | .Fn DH_get_default_method , | 189 | .Fn DH_get_default_method , |
