diff options
author | tb <> | 2023-10-11 06:08:57 +0000 |
---|---|---|
committer | tb <> | 2023-10-11 06:08:57 +0000 |
commit | 0a49cb417e0183546df41411bfb4aa4106480a12 (patch) | |
tree | c541fcaac90b69f66223d265811cc203ced30c3c /src/lib | |
parent | 5cbf5fcfb7c8f024018bdd341230dd05f331967a (diff) | |
download | openbsd-0a49cb417e0183546df41411bfb4aa4106480a12.tar.gz openbsd-0a49cb417e0183546df41411bfb4aa4106480a12.tar.bz2 openbsd-0a49cb417e0183546df41411bfb4aa4106480a12.zip |
Be more precise about X509_ALGOR_get0()
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/X509_ALGOR_dup.3 | 37 |
1 files changed, 26 insertions, 11 deletions
diff --git a/src/lib/libcrypto/man/X509_ALGOR_dup.3 b/src/lib/libcrypto/man/X509_ALGOR_dup.3 index 0b878b7a86..3a70ba4a4e 100644 --- a/src/lib/libcrypto/man/X509_ALGOR_dup.3 +++ b/src/lib/libcrypto/man/X509_ALGOR_dup.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: X509_ALGOR_dup.3,v 1.19 2023/10/10 13:59:47 tb Exp $ | 1 | .\" $OpenBSD: X509_ALGOR_dup.3,v 1.20 2023/10/11 06:08:57 tb Exp $ |
2 | .\" OpenSSL 4692340e Jun 7 15:49:08 2016 -0400 | 2 | .\" OpenSSL 4692340e Jun 7 15:49:08 2016 -0400 |
3 | .\" | 3 | .\" |
4 | .\" This file is a derived work. | 4 | .\" This file is a derived work. |
@@ -66,7 +66,7 @@ | |||
66 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 66 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
67 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 67 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
68 | .\" | 68 | .\" |
69 | .Dd $Mdocdate: October 10 2023 $ | 69 | .Dd $Mdocdate: October 11 2023 $ |
70 | .Dt X509_ALGOR_DUP 3 | 70 | .Dt X509_ALGOR_DUP 3 |
71 | .Os | 71 | .Os |
72 | .Sh NAME | 72 | .Sh NAME |
@@ -208,16 +208,31 @@ is transferred to | |||
208 | on success. | 208 | on success. |
209 | .Pp | 209 | .Pp |
210 | .Fn X509_ALGOR_get0 | 210 | .Fn X509_ALGOR_get0 |
211 | is the inverse of | 211 | returns |
212 | .Fn X509_ALGOR_set0 : | 212 | .Fa alg Ns 's |
213 | it returns the algorithm OID in | 213 | algorithm OID in |
214 | .Pf * Fa paobj | 214 | .Pf * Fa paobj , |
215 | and the associated parameter in | 215 | its parameter type in |
216 | .Pf * Fa pptype | 216 | .Pf * Fa pptype , |
217 | and its parameter value in | ||
218 | .Pf * Fa ppval . | ||
219 | Any of | ||
220 | .Fa paobj , | ||
221 | .Fa pptype , | ||
217 | and | 222 | and |
218 | .Pf * Fa ppval | 223 | .Fa ppval |
219 | from | 224 | can be |
220 | .Fa alg . | 225 | .Dv NULL . |
226 | If | ||
227 | .Fa pptype is | ||
228 | .Dv NULL | ||
229 | or if | ||
230 | .Pf * Fa pptype | ||
231 | is | ||
232 | .Dv V_ASN1_UNDEF | ||
233 | then | ||
234 | .Pf * Fa ppval Ns 's | ||
235 | value is undefined. | ||
221 | .Pp | 236 | .Pp |
222 | .Fn X509_ALGOR_set_md | 237 | .Fn X509_ALGOR_set_md |
223 | sets | 238 | sets |