diff options
| author | tb <> | 2026-05-16 06:17:05 +0000 |
|---|---|---|
| committer | tb <> | 2026-05-16 06:17:05 +0000 |
| commit | 4b203882b9e2d71d369ac40ae0df3ebc624d8cae (patch) | |
| tree | e5e46fd27fb9cca4a496c618334153a21259b358 /src/lib | |
| parent | 4bc248f91cc2b2005ee5a47375fd811c8d6210a7 (diff) | |
| download | openbsd-4b203882b9e2d71d369ac40ae0df3ebc624d8cae.tar.gz openbsd-4b203882b9e2d71d369ac40ae0df3ebc624d8cae.tar.bz2 openbsd-4b203882b9e2d71d369ac40ae0df3ebc624d8cae.zip | |
ASN1{,_parse}_dump: document return value 2 on EOC
Prompted by a report by N. Dossche
ok kenjiro
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/libcrypto/man/ASN1_parse_dump.3 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/ASN1_parse_dump.3 b/src/lib/libcrypto/man/ASN1_parse_dump.3 index 45aa673d4c..809bf01337 100644 --- a/src/lib/libcrypto/man/ASN1_parse_dump.3 +++ b/src/lib/libcrypto/man/ASN1_parse_dump.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: ASN1_parse_dump.3,v 1.4 2025/06/08 22:40:29 schwarze Exp $ | 1 | .\" $OpenBSD: ASN1_parse_dump.3,v 1.5 2026/05/16 06:17:05 tb Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 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: June 8 2025 $ | 17 | .Dd $Mdocdate: May 16 2026 $ |
| 18 | .Dt ASN1_PARSE_DUMP 3 | 18 | .Dt ASN1_PARSE_DUMP 3 |
| 19 | .Os | 19 | .Os |
| 20 | .Sh NAME | 20 | .Sh NAME |
| @@ -180,7 +180,11 @@ with 0 passed as the | |||
| 180 | .Fa dump | 180 | .Fa dump |
| 181 | argument. | 181 | argument. |
| 182 | .Sh RETURN VALUES | 182 | .Sh RETURN VALUES |
| 183 | These functions return 1 for success or 0 for failure. | 183 | These functions normally return 1 for success or 0 for failure; |
| 184 | when printing indefinite-length encoded BER with a tag of class | ||
| 185 | .Dv V_ASN1_UNIVERSAL , | ||
| 186 | the return value 2 indicates that the printing stopped | ||
| 187 | when reaching the end-of-content marker. | ||
| 184 | .Pp | 188 | .Pp |
| 185 | In particular, they print an error message to | 189 | In particular, they print an error message to |
| 186 | .Fa bio , | 190 | .Fa bio , |
