diff options
author | tb <> | 2024-05-15 21:15:28 +0000 |
---|---|---|
committer | tb <> | 2024-05-15 21:15:28 +0000 |
commit | 0abc76de38d1efd56f1bb401a139651ca1cc0948 (patch) | |
tree | 9646546229df36fae0163450e03060b862643495 | |
parent | aef9cd1392076b398c53b9a01007de57ba2da958 (diff) | |
download | openbsd-0abc76de38d1efd56f1bb401a139651ca1cc0948.tar.gz openbsd-0abc76de38d1efd56f1bb401a139651ca1cc0948.tar.bz2 openbsd-0abc76de38d1efd56f1bb401a139651ca1cc0948.zip |
Improve X509V3_get0_uids() documentation
Use less horrcble variable names and make it explicit that both output
arguments are allowed to be NULL.
-rw-r--r-- | src/lib/libcrypto/man/X509V3_get_d2i.3 | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/src/lib/libcrypto/man/X509V3_get_d2i.3 b/src/lib/libcrypto/man/X509V3_get_d2i.3 index 6c406190a7..f9d1e46755 100644 --- a/src/lib/libcrypto/man/X509V3_get_d2i.3 +++ b/src/lib/libcrypto/man/X509V3_get_d2i.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: X509V3_get_d2i.3,v 1.22 2024/05/12 17:44:11 tb Exp $ | 1 | .\" $OpenBSD: X509V3_get_d2i.3,v 1.23 2024/05/15 21:15:28 tb Exp $ |
2 | .\" full merge up to: OpenSSL ff7fbfd5 Nov 2 11:52:01 2015 +0000 | 2 | .\" full merge up to: OpenSSL ff7fbfd5 Nov 2 11:52:01 2015 +0000 |
3 | .\" selective merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 | 3 | .\" selective merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 |
4 | .\" | 4 | .\" |
@@ -49,7 +49,7 @@ | |||
49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
51 | .\" | 51 | .\" |
52 | .Dd $Mdocdate: May 12 2024 $ | 52 | .Dd $Mdocdate: May 15 2024 $ |
53 | .Dt X509V3_GET_D2I 3 | 53 | .Dt X509V3_GET_D2I 3 |
54 | .Os | 54 | .Os |
55 | .Sh NAME | 55 | .Sh NAME |
@@ -155,8 +155,8 @@ | |||
155 | .Ft void | 155 | .Ft void |
156 | .Fo X509_get0_uids | 156 | .Fo X509_get0_uids |
157 | .Fa "const X509 *x" | 157 | .Fa "const X509 *x" |
158 | .Fa "const ASN1_BIT_STRING **piuid" | 158 | .Fa "const ASN1_BIT_STRING **issuerUID" |
159 | .Fa "const ASN1_BIT_STRING **psuid" | 159 | .Fa "const ASN1_BIT_STRING **subjectUID" |
160 | .Fc | 160 | .Fc |
161 | .Sh DESCRIPTION | 161 | .Sh DESCRIPTION |
162 | .Fn X509V3_get_d2i | 162 | .Fn X509V3_get_d2i |
@@ -312,14 +312,22 @@ It is possible to determine the precise reason by checking the value of | |||
312 | .Pf * Fa crit . | 312 | .Pf * Fa crit . |
313 | .Pp | 313 | .Pp |
314 | .Fn X509_get0_uids | 314 | .Fn X509_get0_uids |
315 | sets | 315 | returns the issuer and subject unique identifiers of the certificate |
316 | .Fa *piuid | ||
317 | and | ||
318 | .Fa *psuid | ||
319 | to the issuer and subject unique identifiers of certificate | ||
320 | .Fa x | 316 | .Fa x |
321 | or NULL if the fields are not present. | 317 | in |
322 | These fields are rarely used. | 318 | .Pf * Fa issuerUID |
319 | and | ||
320 | .Pf * Fa subjectUID . | ||
321 | If a unique identifier field is not present in | ||
322 | .Fa x , | ||
323 | .Dv NULL | ||
324 | is returned. | ||
325 | Either one of | ||
326 | .Fa issuerUID | ||
327 | and | ||
328 | .Fa subjectUID | ||
329 | can be | ||
330 | .Dv NULL . | ||
323 | .Sh SUPPORTED EXTENSIONS | 331 | .Sh SUPPORTED EXTENSIONS |
324 | The following sections contain a list of all supported extensions | 332 | The following sections contain a list of all supported extensions |
325 | including their name and NID. | 333 | including their name and NID. |