diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/man/DSA_set_method.3 | 86 |
1 files changed, 55 insertions, 31 deletions
diff --git a/src/lib/libcrypto/man/DSA_set_method.3 b/src/lib/libcrypto/man/DSA_set_method.3 index 8266e1abad..56f22479d0 100644 --- a/src/lib/libcrypto/man/DSA_set_method.3 +++ b/src/lib/libcrypto/man/DSA_set_method.3 | |||
| @@ -1,6 +1,54 @@ | |||
| 1 | .\" $OpenBSD: DSA_set_method.3,v 1.3 2016/11/12 19:23:16 jmc Exp $ | 1 | .\" $OpenBSD: DSA_set_method.3,v 1.4 2016/11/21 13:03:22 schwarze Exp $ |
| 2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | ||
| 2 | .\" | 3 | .\" |
| 3 | .Dd $Mdocdate: November 12 2016 $ | 4 | .\" This file was written by Ulf Moeller <ulf@openssl.org>. |
| 5 | .\" Copyright (c) 2000, 2002, 2007 The OpenSSL Project. All rights reserved. | ||
| 6 | .\" | ||
| 7 | .\" Redistribution and use in source and binary forms, with or without | ||
| 8 | .\" modification, are permitted provided that the following conditions | ||
| 9 | .\" are met: | ||
| 10 | .\" | ||
| 11 | .\" 1. Redistributions of source code must retain the above copyright | ||
| 12 | .\" notice, this list of conditions and the following disclaimer. | ||
| 13 | .\" | ||
| 14 | .\" 2. Redistributions in binary form must reproduce the above copyright | ||
| 15 | .\" notice, this list of conditions and the following disclaimer in | ||
| 16 | .\" the documentation and/or other materials provided with the | ||
| 17 | .\" distribution. | ||
| 18 | .\" | ||
| 19 | .\" 3. All advertising materials mentioning features or use of this | ||
| 20 | .\" software must display the following acknowledgment: | ||
| 21 | .\" "This product includes software developed by the OpenSSL Project | ||
| 22 | .\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
| 23 | .\" | ||
| 24 | .\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
| 25 | .\" endorse or promote products derived from this software without | ||
| 26 | .\" prior written permission. For written permission, please contact | ||
| 27 | .\" openssl-core@openssl.org. | ||
| 28 | .\" | ||
| 29 | .\" 5. Products derived from this software may not be called "OpenSSL" | ||
| 30 | .\" nor may "OpenSSL" appear in their names without prior written | ||
| 31 | .\" permission of the OpenSSL Project. | ||
| 32 | .\" | ||
| 33 | .\" 6. Redistributions of any form whatsoever must retain the following | ||
| 34 | .\" acknowledgment: | ||
| 35 | .\" "This product includes software developed by the OpenSSL Project | ||
| 36 | .\" for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
| 37 | .\" | ||
| 38 | .\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
| 39 | .\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 40 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
| 41 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
| 42 | .\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 43 | .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 44 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 45 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 46 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
| 47 | .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
| 48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
| 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 50 | .\" | ||
| 51 | .Dd $Mdocdate: November 21 2016 $ | ||
| 4 | .Dt DSA_SET_METHOD 3 | 52 | .Dt DSA_SET_METHOD 3 |
| 5 | .Os | 53 | .Os |
| 6 | .Sh NAME | 54 | .Sh NAME |
| @@ -8,9 +56,7 @@ | |||
| 8 | .Nm DSA_get_default_method , | 56 | .Nm DSA_get_default_method , |
| 9 | .Nm DSA_set_method , | 57 | .Nm DSA_set_method , |
| 10 | .Nm DSA_new_method , | 58 | .Nm DSA_new_method , |
| 11 | .Nm DSA_OpenSSL , | 59 | .Nm DSA_OpenSSL |
| 12 | .Nm DSA_set_default_openssl_method , | ||
| 13 | .Nm DSA_get_default_openssl_method | ||
| 14 | .Nd select DSA method | 60 | .Nd select DSA method |
| 15 | .Sh SYNOPSIS | 61 | .Sh SYNOPSIS |
| 16 | .In openssl/dsa.h | 62 | .In openssl/dsa.h |
| @@ -107,7 +153,10 @@ is set, the | |||
| 107 | controlled by | 153 | controlled by |
| 108 | .Fn DSA_set_default_method | 154 | .Fn DSA_set_default_method |
| 109 | is used. | 155 | is used. |
| 110 | .Sh THE DSA_METHOD STRUCTURE | 156 | .Pp |
| 157 | The | ||
| 158 | .Vt DSA_METHOD | ||
| 159 | structure is defined as follows: | ||
| 111 | .Bd -literal | 160 | .Bd -literal |
| 112 | struct | 161 | struct |
| 113 | { | 162 | { |
| @@ -184,31 +233,6 @@ Otherwise it returns a pointer to the newly allocated structure. | |||
| 184 | and | 233 | and |
| 185 | .Fn DSA_OpenSSL | 234 | .Fn DSA_OpenSSL |
| 186 | were added in OpenSSL 0.9.4. | 235 | were added in OpenSSL 0.9.4. |
| 187 | .Pp | ||
| 188 | .Fn DSA_set_default_openssl_method | ||
| 189 | and | ||
| 190 | .Fn DSA_get_default_openssl_method | ||
| 191 | replaced | ||
| 192 | .Fn DSA_set_default_method | ||
| 193 | and | ||
| 194 | .Fn DSA_get_default_method | ||
| 195 | respectively, and | ||
| 196 | .Fn DSA_set_method | ||
| 197 | and | ||
| 198 | .Fn DSA_new_method | ||
| 199 | were altered to use | ||
| 200 | .Vt ENGINE Ns s | ||
| 201 | rather than | ||
| 202 | .Vt DSA_METHOD Ns s | ||
| 203 | during development of the engine version of OpenSSL 0.9.6. | ||
| 204 | For 0.9.7, the handling of defaults in the | ||
| 205 | .Xr engine 3 | ||
| 206 | API was restructured so that this change was reversed, and behaviour | ||
| 207 | of the other functions resembled more closely the previous behaviour. | ||
| 208 | The behaviour of defaults in the | ||
| 209 | .Xr engine 3 | ||
| 210 | API now transparently overrides the behaviour of defaults in the | ||
| 211 | DSA API without requiring changing these function prototypes. | ||
| 212 | .Sh CAVEATS | 236 | .Sh CAVEATS |
| 213 | As of version 0.9.7, DSA_METHOD implementations are grouped together | 237 | As of version 0.9.7, DSA_METHOD implementations are grouped together |
| 214 | with other algorithmic APIs (e.g. RSA_METHOD, EVP_CIPHER) in | 238 | with other algorithmic APIs (e.g. RSA_METHOD, EVP_CIPHER) in |
