summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2024-09-02 07:54:21 +0000
committertb <>2024-09-02 07:54:21 +0000
commit6d33882f3a53dd7c0b3304eeb2afeab464a1acf6 (patch)
tree8ef77e66fa2b853e7f7ec4149fb0ac69c5e902d1 /src/lib
parent013e8f755e2ebb2e2423b2527b8624f5661fed2a (diff)
downloadopenbsd-6d33882f3a53dd7c0b3304eeb2afeab464a1acf6.tar.gz
openbsd-6d33882f3a53dd7c0b3304eeb2afeab464a1acf6.tar.bz2
openbsd-6d33882f3a53dd7c0b3304eeb2afeab464a1acf6.zip
Rename lastpos to start_after to match other, similar manuals
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/CMS_signed_add1_attr.326
1 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/libcrypto/man/CMS_signed_add1_attr.3 b/src/lib/libcrypto/man/CMS_signed_add1_attr.3
index 94e4f4d2ab..1a50c0b9d1 100644
--- a/src/lib/libcrypto/man/CMS_signed_add1_attr.3
+++ b/src/lib/libcrypto/man/CMS_signed_add1_attr.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: CMS_signed_add1_attr.3,v 1.4 2024/09/02 07:43:07 tb Exp $ 1.\" $OpenBSD: CMS_signed_add1_attr.3,v 1.5 2024/09/02 07:54:21 tb Exp $
2.\" 2.\"
3.\" Copyright (c) 2024 Job Snijders <job@openbsd.org> 3.\" Copyright (c) 2024 Job Snijders <job@openbsd.org>
4.\" Copyright (c) 2024 Theo Buehler <tb@openbsd.org> 4.\" Copyright (c) 2024 Theo Buehler <tb@openbsd.org>
@@ -81,7 +81,7 @@
81.Fo CMS_signed_get0_data_by_OBJ 81.Fo CMS_signed_get0_data_by_OBJ
82.Fa "CMS_SignerInfo *si" 82.Fa "CMS_SignerInfo *si"
83.Fa "const ASN1_OBJECT *oid" 83.Fa "const ASN1_OBJECT *oid"
84.Fa "int lastpos" 84.Fa "int start_after"
85.Fa "int type" 85.Fa "int type"
86.Fc 86.Fc
87.Ft "X509_ATTRIBUTE *" 87.Ft "X509_ATTRIBUTE *"
@@ -93,13 +93,13 @@
93.Fo CMS_signed_get_attr_by_NID 93.Fo CMS_signed_get_attr_by_NID
94.Fa "const CMS_SignerInfo *si" 94.Fa "const CMS_SignerInfo *si"
95.Fa "int nid" 95.Fa "int nid"
96.Fa "int lastpos" 96.Fa "int start_after"
97.Fc 97.Fc
98.Ft int 98.Ft int
99.Fo CMS_signed_get_attr_by_OBJ 99.Fo CMS_signed_get_attr_by_OBJ
100.Fa "const CMS_SignerInfo *si" 100.Fa "const CMS_SignerInfo *si"
101.Fa "const ASN1_OBJECT *obj" 101.Fa "const ASN1_OBJECT *obj"
102.Fa "int lastpos" 102.Fa "int start_after"
103.Fc 103.Fc
104.Ft int 104.Ft int
105.Fo CMS_signed_get_attr_count 105.Fo CMS_signed_get_attr_count
@@ -143,7 +143,7 @@
143.Fo CMS_unsigned_get0_data_by_OBJ 143.Fo CMS_unsigned_get0_data_by_OBJ
144.Fa "CMS_SignerInfo *si" 144.Fa "CMS_SignerInfo *si"
145.Fa "ASN1_OBJECT *oid" 145.Fa "ASN1_OBJECT *oid"
146.Fa "int lastpos" 146.Fa "int start_after"
147.Fa "int type" 147.Fa "int type"
148.Fc 148.Fc
149.Ft "X509_ATTRIBUTE *" 149.Ft "X509_ATTRIBUTE *"
@@ -155,13 +155,13 @@
155.Fo CMS_unsigned_get_attr_by_NID 155.Fo CMS_unsigned_get_attr_by_NID
156.Fa "const CMS_SignerInfo *si" 156.Fa "const CMS_SignerInfo *si"
157.Fa "int nid" 157.Fa "int nid"
158.Fa "int lastpos" 158.Fa "int start_after"
159.Fc 159.Fc
160.Ft int 160.Ft int
161.Fo CMS_unsigned_get_attr_by_OBJ 161.Fo CMS_unsigned_get_attr_by_OBJ
162.Fa "const CMS_SignerInfo *si" 162.Fa "const CMS_SignerInfo *si"
163.Fa "const ASN1_OBJECT *obj" 163.Fa "const ASN1_OBJECT *obj"
164.Fa "int lastpos" 164.Fa "int start_after"
165.Fc 165.Fc
166.Ft int 166.Ft int
167.Fo CMS_unsigned_get_attr_count 167.Fo CMS_unsigned_get_attr_count
@@ -230,26 +230,26 @@ of
230and 230and
231.Fn CMS_signed_get_attr_by_OBJ 231.Fn CMS_signed_get_attr_by_OBJ
232search the array starting after the index 232search the array starting after the index
233.Fa lastpos . 233.Fa start_after .
234They fail if no matching object is found. 234They fail if no matching object is found.
235.Fn CMS_signed_get0_data_by_OBJ 235.Fn CMS_signed_get0_data_by_OBJ
236also fails if the data is not of the requested 236also fails if the data is not of the requested
237.Fa type . 237.Fa type .
238.Pp 238.Pp
239Additionally, the 239Additionally, the
240.Fa lastpos 240.Fa start_after
241argument of 241argument of
242.Fn CMS_signed_get0_data_by_OBJ 242.Fn CMS_signed_get0_data_by_OBJ
243is interpreted in a special way. 243is interpreted in a special way.
244If 244If
245.Fa lastpos 245.Fa start_after
246is \-2 or smaller, the function also fails if the 246is \-2 or smaller, the function also fails if the
247.Fa signedAttrs 247.Fa signedAttrs
248array of 248array of
249.Fa si , 249.Fa si ,
250contains more than one matching object. 250contains more than one matching object.
251If 251If
252.Fa lastpos 252.Fa start_after
253is \-3 or smaller, it also fails unless the matching object contains exactly 253is \-3 or smaller, it also fails unless the matching object contains exactly
254one value. 254one value.
255.Pp 255.Pp
@@ -305,7 +305,7 @@ and
305.Fn CMS_unsigned_get0_data_by_OBJ 305.Fn CMS_unsigned_get0_data_by_OBJ
306return an internal pointer to the data contained in the value of the first 306return an internal pointer to the data contained in the value of the first
307object that has an index greater than 307object that has an index greater than
308.Fa lastpos 308.Fa start_after
309and a type matching 309and a type matching
310.Fa type , 310.Fa type ,
311or NULL on failure. 311or NULL on failure.
@@ -321,7 +321,7 @@ return an internal pointer or NULL on failure.
321and 321and
322.Fn CMS_unsigned_get_attr_by_OBJ 322.Fn CMS_unsigned_get_attr_by_OBJ
323return the index of the first object in the array that has an index greater than 323return the index of the first object in the array that has an index greater than
324.Fa lastpos 324.Fa start_after
325and a type matching 325and a type matching
326.Fa nid 326.Fa nid
327or 327or