diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/ASN1_put_object.3 | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/ASN1_put_object.3 b/src/lib/libcrypto/man/ASN1_put_object.3 index 843838143b..a435b5a800 100644 --- a/src/lib/libcrypto/man/ASN1_put_object.3 +++ b/src/lib/libcrypto/man/ASN1_put_object.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: ASN1_put_object.3,v 1.3 2021/11/28 15:48:12 schwarze Exp $ | 1 | .\" $OpenBSD: ASN1_put_object.3,v 1.4 2021/12/09 19:00:00 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2019, 2021 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2019, 2021 Ingo Schwarze <schwarze@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -14,7 +14,7 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: November 28 2021 $ | 17 | .Dd $Mdocdate: December 9 2021 $ |
18 | .Dt ASN1_PUT_OBJECT 3 | 18 | .Dt ASN1_PUT_OBJECT 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -80,7 +80,9 @@ Start a constructed value and use the indefinite form, | |||
80 | .Pp | 80 | .Pp |
81 | If the | 81 | If the |
82 | .Fa tag | 82 | .Fa tag |
83 | is less than 0x1f, it is written to the five least significant bits | 83 | is less than |
84 | .Dv V_ASN1_PRIMITIVE_TAG Pq = 0x1f , | ||
85 | it is written to the five least significant bits | ||
84 | of the only identifier byte written. | 86 | of the only identifier byte written. |
85 | Otherwise, these five bits are all set to 1, and the | 87 | Otherwise, these five bits are all set to 1, and the |
86 | .Fa tag | 88 | .Fa tag |
@@ -168,12 +170,19 @@ for example | |||
168 | .It | 170 | .It |
169 | a | 171 | a |
170 | .Fa tag | 172 | .Fa tag |
171 | number less than 0x1f with a non-universal | 173 | number less than |
174 | .Dv V_ASN1_PRIMITIVE_TAG | ||
175 | with a | ||
172 | .Fa class | 176 | .Fa class |
177 | other than | ||
178 | .Dv V_ASN1_UNIVERSAL | ||
173 | .It | 179 | .It |
174 | a | 180 | a |
175 | .Fa tag | 181 | .Fa tag |
176 | number equal to 0x00 or 0x1f | 182 | number equal to |
183 | .Dv V_ASN1_EOC Pq 0x00 | ||
184 | or | ||
185 | .Dv V_ASN1_PRIMITIVE_TAG Pq 0x1f | ||
177 | .It | 186 | .It |
178 | a | 187 | a |
179 | .Vt BOOLEAN , | 188 | .Vt BOOLEAN , |